How do I Animate Sprites

Get help using Construct 2

Post » Wed May 28, 2014 11:43 pm

I've searched all over the fourms but can't find anything on animating sprites. I'm probably looking in the wrong place but I'm going to ask anyway. So. How do you animate sprites when a sprite moves. My game's character is a Megaman sprite. I have a RunLeft animation line, a RunRight animation line, and a Jump animation line. How do i get each animation to run when I move in each direction? Thanks in advance.
B
4
Posts: 12
Reputation: 224

Post » Thu May 29, 2014 12:08 am

hi,
use the Simulate key and call the animation created in the sprite editor by "Set animation action"
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778

Post » Thu May 29, 2014 12:46 am

As manarsoft said, use the set animation action under the sprite when the key is pressed to run. Also for most platformers (which I assume you are making) you only need 1 animation for running, and then set "mirror sprite" when walking in one direction, and "don't mirror" for the other.

Hope this helps :)
B
12
S
2
G
1
Posts: 26
Reputation: 835

Post » Thu May 29, 2014 9:03 pm

Too late for the "mirror spite" option, but thanks both of you with helping me make my first game! :roll: However I cant seem to find what you two are talking about. Is it on the event sheet?

Edit: How do I set it to play one animation when I move one way and vise versa
B
4
Posts: 12
Reputation: 224


Return to How do I....?

Who is online

Users browsing this forum: Phacanu, richcoz81, Txchaser and 22 guests