Help with 8-direction movement animation

Get help using Construct 2

Post » Sun Feb 26, 2012 8:27 am

Im trying to figure out how to make my character animations work properly when walking in the diagonal directions. up,down,left and right works fine but when I press for example up+left it doesnt animate. Have tried events with dual conditions and also experimented with subevents but nothing seems to work. Have searched the forum with no luck.

B
21
S
7
G
4
Posts: 221
Reputation: 5,070

Post » Sun Feb 26, 2012 9:07 am

Last edited by Yann on Sun Sep 14, 2014 9:31 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Feb 26, 2012 9:36 pm

Solved it like this :)

B
21
S
7
G
4
Posts: 221
Reputation: 5,070

Post » Mon Feb 27, 2012 4:10 am

Oh sorry I didn't link the right capx
You can pretty much settle this in one event
I have three because I separate collision from animation sprite and I also have idle anim the one you would use is the second one.
8dirAnim.capx
Last edited by Yann on Sun Sep 14, 2014 9:31 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Jun 17, 2012 8:44 am

Yann that's brilliant. I've been looking for a way to do it more efficiently than having separate event for each angle. Thank you so much!
B
19
S
6
G
1
Posts: 116
Reputation: 2,730

Post » Fri Mar 01, 2013 2:46 am

I've been trying to do something like this for days, but with a gamepad. Is this impossible?
B
5
Posts: 11
Reputation: 697


Return to How do I....?

Who is online

Users browsing this forum: PixelatedTrip, Yahoo [Bot] and 0 guests