ile-de-test/script/interface/loading_screen.gd

10 lines
199 B
GDScript

extends CanvasGroup
signal safe_to_load
@onready var animprogress = $animation_progressBar
func progress_bar():
animprogress.play("fade_out")
await animprogress.animation_finished
queue_free()