How do I display an attacking animation (platformer)

Get help using Construct 2

Post » Mon Mar 02, 2015 7:52 pm

I'm making a platformer game (like Zelda II), but when my character moves left or right he can't do the attacking animation, it just starts the walking animation from the beginning.
I have it on Key pressed Right -> set animation to walk, but I don't know how to fix it.
It works when jumping, falling and standing still because of animation triggers, but there isn't animation trigger for moving in a specified direction, so I can't get it to work.
B
3
Posts: 1
Reputation: 177

Post » Mon Mar 02, 2015 8:52 pm

You need to check if ATTACK+WALK is pressed at the same time. And if WALK and not ATTACK is pressed. So that you can distinguish the key combos.
Frosty Elk AB
www.frostyelk.se
Have no fear, We come in peace!
B
13
S
3
G
1
Posts: 106
Reputation: 1,169


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], oddreal and 9 guests