Problem description: I've been working on a New Sidescroller Game using ForumAccount's Library, it works perfectly, but I have a small problem which is annoying the players. When you click left or right button, the character can moves, when you hold x and you click left or right button, your character runs. Well, when you're pressing the keys (even though you've stopped pressing them after executing the attack) you continue moving to the place you were facing after being unfrozen (It freezes you for a bit when attacking, so you can't move when your character icon state is "attack"). The same happens to all the skills I've added, after executing them you continue walking, and stop walking / running to that place, you have to click left (if you were walking to the right, or right, if left...) I can't reveal any code, because I don't know what's wrong.
I wish ForumAccount could explain me something about this, or somebody's who already working on a Sidescroller game, thank you so much, and sorry for posting such a confusing thread.
Thanks!
I'd do something like this: