I have a sprite sheet with all the different movements of the character.
When right arrow key is pressed, the character moves to the right, and the animation of moving to the right is played. I do this by creating an object and then attach the movie clip of moving to the right animation to it. When the right arrow key is pressed, the movie clip plays, otherwise it doesn’t move.
Now I want to animate the character when it’s moving to the left as well by playing a different movie clip. The problem is, I don’t know how to change the animation. I have tried several ways but they aren’t successful. Searched on the net and so far there’s nothing helpful.
If you can explain how to do this, please do so. Or if know a good tutorial on this just paste the link. Thanks.