game jump =1 but Hero goes airbourne - help
jigglybean
Member Posts: 1,584
I have set up the camera to track my automatically moving hero going from the left side of the screen to the right. I now what him to jump
I've set up the rules for him to jump around 200 and +1 to jump count but the Hero and the camera tracker both float away upwards!
Does anyone have a rule/idea of how I can make my hero do a conventional jump whilst moving? Ive used rules from a jump game I have which are straight forward but clearly the moving camera tracker is creating yet another problem
Like Balls? Then click here! We've 100 coming soon
Best Answer
-
jamie_c ImagineLabs.rocks Posts: 5,772
Not sure of your exact rules but the first thing I would try is to add an Accelerate Behavior to the player to act as gravity, pulling it down to the ground after the jump.
Answers
Thanks Jamie - Bingo! LOL. I've your tutorial open too to check if I missed anything haha.
Like Balls? Then click here! We've 100 coming soon
Glad it's working!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page