[ 4 posts ]  Reply to topicPost new topic 
Author Message
 [us]
 Post subject: Some help I need
PostPosted: Mon Jul 17, 2017 3:07 am 
User avatar
Member
[*]
Here are two things I need help with
1: Jumping Sounds
I'm some trouble with adding sounds when I jump when I press the Jump button (Which is up) it repeats it instead of playing it once.
2: Adding The Hammer From Paper Mario
I don't know how to code it does somebody know how to?
Can you help me please? Thank you!

_________________
Image
WHY DID I PUT A SPONGEBOB GIF IN MY SIG? DO I NOT REALISE I'LL BE CALLED A SPONGEBOB NERD FOR MONTHS ON END FOR DOING SUCH A MIND-BLOWINGLY STUPID THING AGAIN?
WHY DID I DO THAT?
Image
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Some help I need
PostPosted: Mon Jul 17, 2017 8:43 am 
User avatar
Always have a Shy-Guy in your avatar
Administrator
[A]
[S]
[W]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

1: Make sure you're using sound_play instead of sound_loop, and be careful if you put sounds in a Step event.

2: First of all, you'll need to import the sprites for Mario's hammer. When you press whichever button the hammer is assigned to, Mario's sprite will change to the hammer sprite. Then, at the end of the animation, Mario's sprite will change back to normal. You may need to create a "hammer" variable to test whether Mario is swinging the hammer. This variable will be useful in other parts of the code, too - for example, you probably don't want Mario to be able to jump or duck while swinging a hammer.

Does this make sense?

_________________
Course clear! You got a card.

Image
 
Top
Offline 
 User page at mfgg.net
 
 [at]
 Post subject: Re: Some help I need
PostPosted: Mon Jul 17, 2017 12:11 pm 
Cliax Codec X Splatoon
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
If you use Studio you'd preferably want to use audio_play_sound etc.

_________________
Image

Cliax Codec is a combination of top-down and third-person shooter. The gameplay will blend platforming, puzzle and shmup elements together to create a unique gameplay experience. You will take control of four playable characters which rise against a team that seemingly wants to take over the world - but are their motives really that cliché, or are there deeper motives behind their actions?

Currently designing Chapter 1-6, 5%

GOTM titles
Spoiler:
Fan Art
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: Some help I need
PostPosted: Mon Jul 17, 2017 3:58 pm 
User avatar
Member
[*]
VinnyVideo wrote:
1: Make sure you're using sound_play instead of sound_loop, and be careful if you put sounds in a Step event.

2: First of all, you'll need to import the sprites for Mario's hammer. When you press whichever button the hammer is assigned to, Mario's sprite will change to the hammer sprite. Then, at the end of the animation, Mario's sprite will change back to normal. You may need to create a "hammer" variable to test whether Mario is swinging the hammer. This variable will be useful in other parts of the code, too - for example, you probably don't want Mario to be able to jump or duck while swinging a hammer.

Does this make sense?
How do I make it hit enemies?

_________________
Image
WHY DID I PUT A SPONGEBOB GIF IN MY SIG? DO I NOT REALISE I'LL BE CALLED A SPONGEBOB NERD FOR MONTHS ON END FOR DOING SUCH A MIND-BLOWINGLY STUPID THING AGAIN?
WHY DID I DO THAT?
Image
 
Top
Offline 
 User page at mfgg.net
 
« Previous topic | Next topic »
Display posts from previous:  Sort by  
 [ 4 posts ]  Reply to topicPost new topic 


Who is online

Users browsing this topic: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group