How do I check wich way my enemy is moving? (For animations)

Get help using Construct 2

Post » Wed Nov 23, 2016 5:09 pm

Hello everyone,

I am building a topdown 4 way movement like- game where my enemy's follow my player using the path finding function.
This is working real good, but now the enemy is always watching right, no matter wich direction it's moving.
So my question is: How can i "check which direction my enemy is moving"?
So i can just add animations with events on which way it's moving.
Image

Coin Clicker 2 [Play store]
B
15
S
2
Posts: 75
Reputation: 905

Post » Wed Nov 23, 2016 8:41 pm

Here the .capx file
screenshot:
Image

capx file:
https://drive.google.com/file/d/0B9uHUU ... sp=sharing

enjoy
B
48
S
9
G
10
Posts: 200
Reputation: 8,258

Post » Thu Nov 24, 2016 2:49 am

Thank you!
I will take a look at it when i get home.
Image

Coin Clicker 2 [Play store]
B
15
S
2
Posts: 75
Reputation: 905


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 6 guests