Spotting moving direction

Get help using Construct 2

Post » Tue Mar 25, 2014 6:06 pm

How to make event that happens when sprite is moving exactly left.
~~~~Jabutosama
B
13
S
3
Posts: 68
Reputation: 1,414

Post » Tue Mar 25, 2014 7:49 pm

assuming it's not your player object, which you could simply ask for it's input (?)
- you could either check your object's '.angle' when the object has some speed (meaning that it's probably moving in that direction, no?)
- or if thats not corresponding in your setup you could store away your object's X and Y to compare your old x and y position to your current one
B
12
S
5
Posts: 216
Reputation: 1,692

Post » Wed Mar 26, 2014 2:09 pm

Ah i see... it's this hard to make.

Thank you by reply, you made my mind clear. Now i can think other things as well :)
~~~~Jabutosama
B
13
S
3
Posts: 68
Reputation: 1,414


Return to How do I....?

Who is online

Users browsing this forum: darkrealos, JaredX, Rhindon and 18 guests