can you detect a frame in an animation

Get help using Construct 2

Post » Sat Mar 16, 2013 2:59 pm

hi guys,

is there any way of detecting a certain frame in an animation.

i have a sprite with 5 frames, the first 4 frames are spikes and the last is blank. any way of detecting the spike frames so when i walk over then you die, but not when you walk over the frame with no spikes showing.


Rickynzx
B
2
Posts: 1
Reputation: 302

Post » Sat Mar 16, 2013 3:06 pm

Just check to see if spikes.animationframe = whatever you want

spikes

click on each spike including the space to see the frame numberspongehammer2013-03-16 15:16:38
B
44
S
15
G
9
Posts: 1,096
Reputation: 11,013


Return to How do I....?

Who is online

Users browsing this forum: mercuryus and 14 guests