pir-serious-game-ethics/scenes/end-screen/AnimatedProgress.gd

11 lines
176 B
GDScript3
Raw Normal View History

2021-04-23 23:25:32 +02:00
extends ProgressBar
onready var tween = $Tween
func _ready():
tween.interpolate_property(self, "value", 0, 100, 1.5, Tween.TRANS_CUBIC, Tween.EASE_IN_OUT)
tween.start()