pegchamp/Effects/Transition.gd
2021-09-28 17:55:03 +02:00

11 lines
200 B
GDScript

extends CanvasLayer
onready var animation = $AnimationPlayer
func _ready():
$TransitionSprite.visible = true
animation.play("FadeIn")
$FadeInSound.play(0)
func finish_animation():
queue_free()