Stopping an animation

Get help using Construct 2

Post » Thu Apr 11, 2013 7:37 pm

I have 2 sprites ie. 1 and 2. There is a flashing light associated with sprite 1 ie. an animation of 2 frames set to loop. When you click sprite 1 the animation associated with it loops and the light flashes. What I want to do is to be able to click sprite 2 to stop the flashing light. Have tried animation stop in event sheet but it keeps playing ? What is the best way to do this ? Thanks
B
4
S
2
Posts: 1
Reputation: 877

Post » Thu Apr 11, 2013 7:51 pm

@kiwiman15 - Stop should work - can you post a capx or screenshot of the events? My guess is that an instance of Sprite 1 isn't actually picked when you're calling 'Stop' on it, but it's hard to tell for sure...
B
9
S
3
G
4
Posts: 63
Reputation: 3,083


Return to How do I....?

Who is online

Users browsing this forum: PixelatedTrip and 0 guests