Checking initial frame

Get help using Construct 2

Post » Mon Jan 20, 2014 12:25 pm

Hi masters,

I'm using a single sprite with 14 frames. Each instance has a different initial frame. I want to move to a new frame when mouseover happens but I don't know how to identify the initial frame of each sprite and didn't find any expression for it. Could anyone help me?

Thanks
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Mon Jan 20, 2014 3:59 pm

I thought to use a local variable (numberFrames) and set the frame that each sprite uses. This solves the problem, but I want to know if there a simpler solution. Thanks.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051


Return to How do I....?

Who is online

Users browsing this forum: ST314 and 26 guests