How can detect the direction of player?!

Discussion and feedback on Construct 2

Post » Fri Jul 05, 2013 2:33 pm

Hi,
i have a problem with animate my character. How can i detected the direction of player sprite?

Here is my *.capx file:
https://www.dropbox.com/s/em36o7xnmp2rtjb/RPG_Movement_Animation.capx

Best regards,
Wossiwossi2013-07-05 18:13:09
B
7
S
2
Posts: 84
Reputation: 754

Post » Fri Jul 05, 2013 6:29 pm

Is this what you are looking for?

Updated Cap

oops, the global variable player direction is not needed btw, was just fiddling around and forgot to remove itTwinsonian2013-07-05 18:31:14
B
8
S
1
Posts: 62
Reputation: 1,212

Post » Fri Jul 05, 2013 7:49 pm

Thank you very much for your help! This is exactly what i mean. Thank you a lot
B
7
S
2
Posts: 84
Reputation: 754


Return to Construct 2 General

Who is online

Users browsing this forum: Tokinsom and 4 guests