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
14
S
3
Posts: 68
Reputation: 1,439

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
15
S
6
Posts: 232
Reputation: 1,931

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
14
S
3
Posts: 68
Reputation: 1,439


Return to How do I....?

Who is online

Users browsing this forum: Jasmaniac, PRIZZRAK, Yahoo [Bot] and 19 guests