Page 1 of 1

JUMP GLITCH!

PostPosted: Fri Mar 21, 2008 11:05 am
by CrimsonTheDarkBat
In my upcoming game, I am in a real bind, because the main player actor has a jumping problem.
When you hit the SPACE bar to jump, sure, the actor jumps...but when in the air, you can keep
hitting SPACE, causing the actor to jump in midair! HELP ME!

Re: JUMP GLITCH!

PostPosted: Fri Mar 21, 2008 12:44 pm
by DilloDude
The reason for this is simple: you told the actor to set its velocity when you press space. You never told it to only do it if it was on the ground. This question has been asked about 300 times before. Use the search box at the top of the page, and you should find at least one good solution.

Re: JUMP GLITCH!

PostPosted: Sat Mar 22, 2008 12:41 pm
by Freddy
Here's a link to one in case youre having trouble finding any good info.

http://game-editor.com/forum/viewtopic. ... ing#p36618

Hope this helps you. :D