I am creating a platformer game as a means to learn MMF2.5 and I am having a problem figuring out how to animate my character. I created 4 images of my character, (player), to show a running motion. I also have a single image of the player to show an idle position. I am using the movement type as platform.
When the frame starts I stop the animation so that the player is standing still. Then I use “Repeat while Right Arrow is pressed”. When the right arrow is pressed I set the direction to the right and start the animation. It works ok up to this point but when I release the right arrow key the player stops moving to the right but the animation keeps playing. I want it to show the idle position, (first frame of animation). When I use the Left Arrow key the player flips to the other direction and moves left but again when the Left Arrow key is released the animation keeps playing. I tried using “If player is stopped>Animation stop” but that does not work because the next time you press the arrow key the animation does not run.
I have checked the forum and I have found nothing that would explain to me how to use character animations properly. Are there any tutorials on this or any other place to get help? Maybe a .mfa file that shows how to do this?