Page 1 of 1

Double jump

PostPosted: Tue Mar 07, 2006 5:00 pm
by The achievement
ya i have this actor, and he can jump, but when i keep hitting the space bar in the air, he can do i double jump like y infinite< that means he can jump anywhere in the air.. can i do somthing like this? if(canJump==1) True==0
False=1

can i do somthing like this????????????

PostPosted: Tue Mar 07, 2006 6:58 pm
by makslane
You can set canJump = 1 when collide with platform and set to zero in a Collision Finish event with the platform.

Test the canJump variable in the key down event.

Search for "jump" in the forum.

PostPosted: Tue Mar 07, 2006 7:30 pm
by The achievement
ya this is not working, i have been trying this a millon times i just cant seem to find the right code. :(

PostPosted: Tue Mar 07, 2006 8:25 pm
by makslane