Do this:
forever if <[(up arrow) key pressed] and [touching (ground)> change y by (4)
Offline
gfchll wrote:
when key [up arrow v] pressed repeat (10)//or any number change y by (1) end repeat (10)//same # as before change y by (-1) end
Ditto. This is how I have the jump feature in my games.
Last edited by StarscreamClone (2012-10-08 08:38:55)
Offline
you need something to check whether your character is touching the ground or not. If they are touching the ground and they press the 'jump' button, they jump. But if they are not touching the ground, they will slowly fall to the ground.
Offline