I had previously posted this in General on accident with no real advice so I figure I would ask here since mods haven't moved it over yet. I'll try to explain what I am attempting to do as simply as possible.
I am controlling a player sprite with a gamepad. The sprite has eight sequences of animation for all eight directions. The problems arises as soon as I start adding diagonal direction. I have managed to get as far as making the top arc work (left, left-up, up, up-right, right) and can also add movement and correct animation for just down. down-right and down-left break on their own, and break anything else calling "right" or "left". I'm pretty sure this has to be an issue with the way I am creating my events.
This is my latest working event page:
<img src="http://i.imgur.com/t2pNzkr.png" border="0" />
Event 2 is simply where I store previous direction variable on stop to play standing animation.
Any help would be greatly appreciate it. This issue haunted my dreams last night.
As a sidenote and completely unrelated - anyone know why y axis < 0 comes out to positive movement (ie - up)?