Fading In/out actors
danlbryant
Member Posts: 236
I just came across the "Interpolate" behavior, and I found it works really good for fading in and out actors. Here's how I did it:
Fade-Out
Interpolate:
-Interpolate attribute: (self.Color.Alpha) To: 0
-Durration: 2
-Function Ease out
Fade-in
Interpolate:
-Interpolate attribute: (self.Color.Alpha) to: 1
-Duration: 2
-Function Ease In
Just thought i'd share what I found.
-Daniel Bryant
http://bit.ly/colossalgame
Fade-Out
Interpolate:
-Interpolate attribute: (self.Color.Alpha) To: 0
-Durration: 2
-Function Ease out
Fade-in
Interpolate:
-Interpolate attribute: (self.Color.Alpha) to: 1
-Duration: 2
-Function Ease In
Just thought i'd share what I found.
-Daniel Bryant
http://bit.ly/colossalgame