A jump behaviour

liamoliamo Member Posts: 191
edited February 2012 in Working with GS (Mac)
I think we need a jump behavior in gamesalad. Its so widely used and a simple behavior would make jump not take a whole day to perfect. Please consider my suggestion.

Liamo

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited February 2012
    Its not needed, a jump behavior takes 2 second. When jump button is pressed change attribute self motion linear velocity y to 400

    thats it. You adjust the 400 to your jump height, and just make sure your either using scene gravity or a constant accelerate down behavior to act as gravity.
  • zeroazulagenciazeroazulagencia Member, PRO Posts: 12
    Sorry but ist not so simply if you do as john says if you keep pressing the jump button the character will continue to go up!
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    then you just put the jump rules in a rule when actor collides with the ground, so you cant jump in the air. Pretty simple ;)
Sign In or Register to comment.