Double jump

Game Editor comments and discussion.

Double jump

Postby The achievement » Tue Mar 07, 2006 5:00 pm

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????????????
User avatar
The achievement
 
Posts: 220
Joined: Sun Feb 12, 2006 11:01 pm
Location: United States,Massachusetts
Score: 0 Give a positive score

Postby makslane » Tue Mar 07, 2006 6:58 pm

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.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby The achievement » Tue Mar 07, 2006 7:30 pm

ya this is not working, i have been trying this a millon times i just cant seem to find the right code. :(
User avatar
The achievement
 
Posts: 220
Joined: Sun Feb 12, 2006 11:01 pm
Location: United States,Massachusetts
Score: 0 Give a positive score

Postby makslane » Tue Mar 07, 2006 8:25 pm

makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest