How do I advance animation frame on collision

Get help using Construct 2

Post » Fri Jun 05, 2015 7:18 pm

How do I advance an animation frame at the collision of two sprites....any help would be appreciated thanks :D
B
21
S
6
Posts: 58
Reputation: 1,385

Post » Fri Jun 05, 2015 9:53 pm

Welcome to C2! You have the "On Collision" event you can use to trigger the event. Then you need to add an action. Under the sprite, you have the Animation: Set Frame action. Sprites have an expression you can use to get the current frame, so you can add one to that.

Good Luck!
B
14
S
5
G
1
Posts: 189
Reputation: 1,536

Post » Fri Jun 05, 2015 11:59 pm

bladedpenguin wrote:Welcome to C2! You have the "On Collision" event you can use to trigger the event. Then you need to add an action. Under the sprite, you have the Animation: Set Frame action. Sprites have an expression you can use to get the current frame, so you can add one to that.

Good Luck!

Thanks..we figured it out.
B
21
S
6
Posts: 58
Reputation: 1,385



Return to How do I....?

Who is online

Users browsing this forum: Centra and 4 guests