How to make an enemy sprite or spriter object get lighter on collision?
Develop games in your browser. Powerful, performant & highly capable.
Check out the "brightness" effect.
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.
"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.
are you doing on collision with family > set family fx brightness ?
this should work for picking the wright one.