How do i make enemy gradually turning white when it die?

So i already got white flash when it hit and get damaged that okay. but now when it die i want them like… slowly turning into white and disappeared. ithink i should use Effect (the same that iuse for flash when it got hit) with tween but it’s doesnit work or i did something wrong could someone help me?

IDK how you change it to white
BUT
If it would be changing opacity to like fade out
So starting from solid and going to invisible

You would simply subtract 1 from opacity
Well if you wanna faster you subtract 2 or 3 or more
Slower 0.5 or 0.1 or less and so go on

Same logic can be applied to your flash
However you flash your object you need to add or subtract from it depending what it is
Or maybe add to it cause it is most likely some additive value
Only matter how much
I know you can do it via adjustment effect and changing brightness and contrast where min value is 0 and max (full white) is 5

So i would add to it like 0.01 maybe or 0.05
Or check what value works for me

And simply when value reaches 5 i would delete object

is it possible to make tween with effect? 'cuz i already have white effect so i want it slowly fade into that white effect

You can set value of that effect to variable
And tween variable
For example if effect property is 10 then its white
Set that effect to SomeVariable
And now tween SomeVariable to 10

that might work. thx again

1 Like