Help with Making Actor Jump: Need Help From Who Made the Templates
JoshKahane
Member Posts: 470
Hi
So in the template the actor called Player (the small blue guy) I have been looking at him loads and can't figure out how to make my own actor jump in my game. Any help? Thanks.
So in the template the actor called Player (the small blue guy) I have been looking at him loads and can't figure out how to make my own actor jump in my game. Any help? Thanks.
Comments
But you only want to jump if you are touching the ground. i.e. if collides with ground, 'touchingground' = true
and when you jump, 'touchingground' = false.
http://img31.imageshack.us/i/picture1bip.png/
2. Need to set it to true when ANY of the conditions is true. Unless you do want the actor to collide with both actors at the same time to enable touching ground.
http://gamesalad.com/wiki/scene_attributes
Now, my character actor drops back down, but bounces back up because of gravity, so do I need to add a rule so that when the character actor hits the ground actor it stops moving? Something like that?
Also, how do I stop my character actor form flying/staying in the air when you keep pressing up?
It should only be able to jump when the attribute is set when it is touching(colliding) with the ground.