expression needed 'is moving' or 'when moving'

Get help using Construct 2

Post » Sun Sep 01, 2013 5:20 pm

i have sprite without behaviors so WHEN this sprite is changing possition /moving (using lerp function) = do something.
any ideas how solve this?delgado2013-09-01 17:27:07
B
109
S
26
G
43
Posts: 1,883
Reputation: 33,655

Post » Sun Sep 01, 2013 8:07 pm

bump
B
109
S
26
G
43
Posts: 1,883
Reputation: 33,655

Post » Sun Sep 01, 2013 8:43 pm

You can always store the position, and if the values change next time round the loop, you know the sprite has moved.
ImageImageImage
B
71
S
21
G
221
Posts: 3,651
Reputation: 124,231

Post » Sun Sep 01, 2013 8:45 pm

blackhornet is correct.

In my board game, I use OldX and OldY variables.
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,224


Return to How do I....?

Who is online

Users browsing this forum: Centra, Yahoo [Bot] and 4 guests