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
14
G
4
Posts: 1,018
Reputation: 8,139

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
14
G
4
Posts: 1,018
Reputation: 8,139


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests