Problems facing the direction I am jumping...

LordTarantorLordTarantor Member, PRO Posts: 890
edited November -1 in Working with GS (Mac)
hi everyone:
the animation of my player is good while moving but if he jumps, duck or attack is wrong. he can be running left and I press any of the above he will do it but looking to the wrong way. I cant figure how to make it jump facing left if he is traveling to the left (or duck or attack). can someone tell me what is the rule?
Thanks

Comments

  • gazjmgazjm Member Posts: 578
    Try having a new attribute called direction, Then in the rule which controls the movement for left have it set attribute to 0, and the rule right to 1.

    then in your jump rule have a rule to say if direction = 0, display left image, if direction = 1, display right image. I used this n it works pretty well!
  • LordTarantorLordTarantor Member, PRO Posts: 890
    gazjm, wow
    Thanks a lot, it works perfect.
Sign In or Register to comment.