im solving the following problem - i want my hero to have a "charge" move, which is a fast movement forward in which he can destroy enemies. I play an one frame animation in this event. So far i couldn't make a soft transition from this move, to his previous state.
If the player isnt moving and just press this action move, my hero don't know to which state he should return - if idle or moving. So right now i can only add walk after this event and it happens that the hero has his walk animation even if the player isnt moving :/.
I should propably add some variables to movement and idle and then detect them? So far i can't figure out how to do that..
thanks a lot!