The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Kokowam on April 06, 2007, 06:04:39 PM

Title: Jumping
Post by: Kokowam on April 06, 2007, 06:04:39 PM
Argh... I'm having some problems. When I try to make a common event that allows you to jump by pressing a button, the whole jumping thing is messed up. Here's a rough thing of what it looks like (If replaces the conditional branches :P):

If Key (Whatever) is pressed, then:
  If Sprite faces left:
    Move event: Jump (-2,0)

And so on. Oddly enough, on one press, the guy jumps then jumps back, jumps then jumps again, or regularly jump. Is this just a problem with my RPG Maker?
Title: Re: Jumping
Post by: modern algebra on April 06, 2007, 06:13:54 PM
No, but you will need to put a wait event. The program runs so fast that it might be going through the event twice before you lift your finger from the key.
Title: Re: Jumping
Post by: WcW on April 06, 2007, 08:31:29 PM
Yep, that's it, set it maybe to around 10 and that should fix it.