Can someone fix infanint jumping/ flying

Talk about making games.

Can someone fix infanint jumping/ flying

Postby jman » Thu Oct 16, 2008 11:51 pm

here is the zip of my first game thing and i need some one to make it so Mario cant jump a billion times
so like something like a single jump you could or a double jump would be even better if you could i would award 1 point to whoever does it

someone plz help :(
Attachments
mario_game.zip
here is what is going to be something of my first game
(30.2 KiB) Downloaded 104 times
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score

Re: Can someone fix infanint jumping/ flying

Postby skydereign » Fri Oct 17, 2008 12:13 am

Like this? If so, what I did was add a variable that will decrease every time you press the jump button. The variable is set to 2 while the actor is on the ground. This allows for a double jump. Also, on the space keydown event, I set repeat to disable so there will be two distinct jumps.
Attachments
gameEditorMacosx.app.zip
(6.31 MiB) Downloaded 41 times
mario_game.zip_FILES.zip
(22.11 KiB) Downloaded 130 times
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Can someone fix infanint jumping/ flying

Postby jman » Fri Oct 17, 2008 10:34 am

ty so much +1 point :D :D
Labyrinth-just starting
User avatar
jman
 
Posts: 123
Joined: Fri Jul 20, 2007 7:07 pm
Location: Ontario, Canada
Score: 2 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron