by skydereign » Wed Aug 29, 2012 6:51 pm
This would only be caused by one of two things. First is the more obvious reason, you have a keyup event that changes the animation back. The other is that you have some repeating event (like a draw actor event, or collision event) that sets the player's animation back. For instance collision with the ground that resets the animation to a standing animation. To fix the first one, just remove the event, but for the second one, you'll need to modify the repeating event. You say you are using the state method, which this problem really shouldn't occur if you use the state method the right way, so if you are still having problems post the code or similar so we can take a look.