How to make and object jump?
worstweb
Member Posts: 3
Hello everyone,
I want to create a platform-style game but I don't know how to make and object jump. Can you help me?
I want to create a platform-style game but I don't know how to make and object jump. Can you help me?
Comments
That takes your current position onscreen, no matter where, and adds a 300 pixel "lift" every time you press the spacebar. Can be adapted to any other key or onscreen button. But, you can launch offscreen if you keep pressing it unless you have a boolean attribute that keeps it from being activated multiple times when you hit the spacebar while it is in the air, and not touching the ground.
How would you set up that Boolean?
http://www.jamie-cross.net/?portfolio=gamesalad-recipe-004-advanced-platform-character-movement-featuring-double-jumping
This is one of the best tutorials I have seen on how to do this, move and jump and such. Hope it helps.