freme

Discussion and feedback on Construct 2

Post » Fri Sep 11, 2015 8:15 am

How can I do to stop the sprite to the first frame and pass it to the second after a collision with another object ?
B
7
S
3
Posts: 54
Reputation: 687

Post » Fri Sep 11, 2015 8:54 am

First, select the sprite's animation you want to configure, then on the properties panel, set the speed to 0. Then in the event sheet, create an event for "On collision with another object", and depending on what you want to achieve, add the following actions from the "Animation" category:

- If you want to switch to the 2nd frame and stop there, just use the "Set frame" with index 1.
- If you want the animation to play, use the "Set speed" action.
B
137
S
33
G
17
Posts: 1,560
Reputation: 20,802


Return to Construct 2 General

Who is online

Users browsing this forum: BiffanyPFH and 7 guests