Hello! It's an assignment work and I'm not allowed to use the "Platform" behaviour in this game. I have added keyboard controls to my character as follows:
Right arrow = Move 2.5 pixels forward and Set animation "Walk".
Up arrow = Apple Physic force (0,325) and set animation "Jump".
The problem: When I press "Up", the character jumps and while in mid air if i press "Right", it WALKS forward in midair. I want the character to only MOVE FORWARD(without the walk animation) while jumping when "Right" key is pressed. In other words, how do I prevent the Walk animation while the Jump animation is playing while at the same time allowing the "Forward movement"? My apologies if i'm not explaining this clearly enough
P.S - someone please reply ASAP, thank you!