Jumping
Baccarda
Member Posts: 122
in Help Wanted
Hello everyone!
How can i make my character jump like this?:
instead of this:
Thankyou for your support!
Comments
Just like in this game: http://arcade.gamesalad.com/games/125819
This might help:
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
I did not see how this could help me, but thanks anyway.
Currently my character is jumping with move to function, but it only makes the character to go straight to x,y position without any angle.
For jumping like that, i usually do 1 of 2 things:
i set an accelerate behaviour on the jumping actor angled downwards, to create the gravity. then i use 'when touch is pressed - accelerate' and then turn the accelerate up a lot more than the other accelerate on the jumping actor, and angle it to whatever angle i want him to jump.
the second way is the use the same accelerate as before, but instead of having an accelerate on the jumping actor angled downwards to simulate gravity, just turn up the scene gravity. i personally recommend the 1st option though. hope this helps.
@janis.piziks@gmail.com, the movement and jumping in the tutorial I suggested is done similar to what @MarpCark mentions. Using Accelerate Behaviors and also directly manipulating the Velocity X and Y of the player. This usually gives a more 'natural' jump than using a Move Behavior.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Thank you very much guys. I'll try to sort it out with accelerate behavior.
Now i'm stuck because i tried different speeds and variations but non of them was like in this game. http://arcade.gamesalad.com/games/125819
Could someone please reveal the magic recipe for that jump?