State Machine Player Movement?
So I was looking in to things and I think I might make my player movement a state machine. But I can't find any for movement that go over what I need heres what I found: actionscript 3 - Action Script 3, character selection - Stack Overflow (one of the answers on the page but not the selected one)
This is my adaptation of the state machine class:
[ActionScript 3] citymain - Pastebin.com
and then in the character class:
[ActionScript 3] character class - Pastebin.com
Im not sure how state machines work, actually. So I don't know if I used it right. I know I get a label for the button press, if I do it right... Anyway any help would be appreciated.
heres an other type I attempted: (less complex)
[ActionScript 3] Level code - Pastebin.com
Message was edited by: Maya Stringer
