Change image of an object

Get help using Construct 2

Post » Tue Aug 20, 2013 12:16 am

Hello everyone,

I'm making a car game and I want to change the image of my car when he crashed to a crashed car. What is the event and the action I have to take in account to make it possible ?

Thanks for your help.
B
21
S
3
G
2
Posts: 86
Reputation: 2,262

Post » Tue Aug 20, 2013 8:21 am

Within your sprite you'll have an image of the car and an image of it crashed, setting the animation speed to 0 will mean it won't change unless you tell it too.

Event wise I would say Car when on collision with car 2, set Car animation frame to the crashed image.

Also adding a condition that the car has to be going a certain speed to crash would stop small touches triggering a crash.
B
5
S
2
Posts: 6
Reputation: 646


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 28 guests