Hey all! I'm trying to interpolate the 'modulate' property (specifically the alpha) of the tween's parent node (of type Sprite), but it seems to never do anything?
My first attempt was to write it like so:
tween = Tween.new()
add_child(tween)
tween.interpolate_property(self, "modulate", Color(1, 1, 1, 0), Color(1, 1, 1, 1), 1.0, Tween.TRANS_LINEAR, Tween.EASE_OUT_IN)
tween.start()
That didn't do anything. Then I figured, maybe 'self' is the wrong keyword to use, so I swapped it with a variable that refers to the parent's node (the Sprite one). No go.
I've tried addressing the "modulate:a" directly (writing it as both "modulate:a" and "modulate.a" instead of "modulate" while changing Color(1, 1, 1, 0) and Color(1, 1, 1, 1) to 0 and 1 respectively - still no go).
I'm running Godot 3.4.4.
What am I doing wrong? ^_^
Thanks!