I'm making a beat 'em up style game.
When I press the arrow keys the character walk (8 direction) but, when I press A to punch, the character continues walking and it just plays the punch sound but no punch animation.
Basicaly what I want is something like this:
When walk animation is "on" (when arrow key is down)
-if A is pressed, stops the walk animation(and starts punch animation)
-when A is released starts animation stand (not walk animation)
Sorry for my bad english.