Jumping

BaccardaBaccarda Member Posts: 122

Hello everyone!
How can i make my character jump like this?:

instead of this:

Thankyou for your support!

Comments

  • BaccardaBaccarda Member Posts: 122
    edited February 2015
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    This might help:

  • BaccardaBaccarda Member Posts: 122
    edited February 2015

    @jamie_c said:
    This might help:

    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. :(

  • MarpCarkMarpCark Member Posts: 121

    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.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    @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.

  • BaccardaBaccarda Member Posts: 122

    Thank you very much guys. I'll try to sort it out with accelerate behavior. :)

  • BaccardaBaccarda Member Posts: 122

    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? :(

Sign In or Register to comment.