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
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Sun Sep 01, 2013 8:07 pm

bump
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

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
22
G
240
Posts: 3,734
Reputation: 133,994

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,234


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 27 guests