Page 1 of 1

Can someone fix infanint jumping/ flying

PostPosted: Thu Oct 16, 2008 11:51 pm
by jman
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 :(

Re: Can someone fix infanint jumping/ flying

PostPosted: Fri Oct 17, 2008 12:13 am
by skydereign
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.

Re: Can someone fix infanint jumping/ flying

PostPosted: Fri Oct 17, 2008 10:34 am
by jman
ty so much +1 point :D :D