GameSalad

Making More Than One Animation

I am making a endless runner type game and I need to make more than one animation. I need idle, walking and jumping now I have everything I just cant seem to figure it out. I have got the idle animation to work with the animate behavior however I don't know how to add the others in. Of course These would only be activated when the game has begun (walking animation) or when the player jumped (Jumped animation) . Thanks for any help given!

Comments

  • IceboxIcebox Posts: 1,365Member, PRO
    edited September 2016

    you just need to add logical conditions

    if overlaps or collides with actor ground ( when actor is touching the ground)
    Rule inside
    [[ if motion linear velocity x = 0 ( the speed is 0) , do idle animation
    otherwise walking animation]]

    otherwise ( when actor is not touching the ground)
    jump animation

    This should work well I think

Sign In or Register to comment.