How to override one animation with another when actor jumps
lowski
Member Posts: 25
Hi. I am having issues with my jump animation. When right and left buttons are pushed the actor goes right and left. Great. But when the actor jumps the run animation continues. Stinky. I decided to have a jump animation or a change image attribute when my actor jumps. I guess my question is how to I override my run animation when my actor jumps? I've tried it so that the run animation will only go when on the ground but when the actor jumps he can only jump straight up because my animations are tied to my velocities.
Thanks
Thanks
Comments
I somehow need to have my run animation when pushing a directional button but then when jump is pushed start another animation (with the directional button still down) until returning back to the ground.
if self motionY is greater than 0, and left key or right key are pressed, run those other one.
It may or may not help.
I don't remember off hand the rules.
I do know it only animates on the ground.