Enemies light up on hit?

Get help using Construct 2

Post » Sun Jan 19, 2014 4:36 pm

How to make an enemy sprite or spriter object get lighter on collision?
Image
B
20
S
4
Posts: 382
Reputation: 3,004

Post » Sun Jan 19, 2014 4:40 pm

Check out the "brightness" effect.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Sun Jan 19, 2014 5:00 pm

That effect looks like what I need. I am using Spriter. The spriter object itself can't have effects enabled so I tried adding the effect to the family of sprites that the spriter object includes but that makes every instance of that enemy on the screen light up.
Image
B
20
S
4
Posts: 382
Reputation: 3,004

Post » Sun Jan 19, 2014 5:22 pm

"The spriter object itself can't have effects enabled"

Seriously? Did not expect that. I haven't used spriter yet so maybe someone else can chime in there.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Sun Jan 19, 2014 5:23 pm

are you doing on collision with family > set family fx brightness ?

this should work for picking the wright one.
ImageImage
B
71
S
22
G
7
Posts: 827
Reputation: 10,177


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests