Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | leg0 | |
Old Version | Published before Godot 3 was released. |
Hey, new here
I’m trying to tween the alpha of a sprite (or anything compatible with alpha)
I found some topics about tweening but none about how to simply change the alpha of an object.
Any clues ?
What I got so far …
var t = Tween.new()
t.interpolate_property(aLabel,"visibility/opacity",1, 0, 1,Tween.TRANS_LINEAR, Tween.EASE_OUT)
t.start()
yield(t, "tween_complete")
But the object opacity is not changing and this don’t get the yield complete signal
Thanks !