Flash effect. Working but not for long time

NeverbeNeverbe Member Posts: 117
edited November -1 in Working with GS (Mac)
I set a rule to detect if touch in pressed inside the actor (fullscreen actor) then i set a interpolate behavior to set the self.Color.Apha to 0 in 0.9 sec then i set a timer that start after 0.05 sec with an interpolate behavior inside that set the Alpha to 1.
It work well but if I set the timer to a time longer than 0.1 the Alpha go to 0 but don't want to back to 1...

Comments

  • HachikoHachiko Member Posts: 330
    you can have it so that when self.color.alpha is equal to 0.9, interpolate alpa to 1.
    Not sure if that's what you have in mind though.
Sign In or Register to comment.