JUMP GLITCH!

Non-platform specific questions.

JUMP GLITCH!

Postby CrimsonTheDarkBat » Fri Mar 21, 2008 11:05 am

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!
Sonic Velocity Development Thread --> http://game-editor.com/forum/viewtopic.php?f=4&t=11461

Completed Games:
Sonic: War of the Emeralds
Sonic: Empire of Nightmares
Sonic.EXE - The Game
Alice: Crimson Omen
Epsilon 27
User avatar
CrimsonTheDarkBat
 
Posts: 223
Joined: Fri Mar 21, 2008 10:54 am
Score: 20 Give a positive score

Re: JUMP GLITCH!

Postby DilloDude » Fri Mar 21, 2008 12:44 pm

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.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: JUMP GLITCH!

Postby Freddy » Sat Mar 22, 2008 12:41 pm

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
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron