pegchamp/Effects/Transition.gd

12 lines
200 B
GDScript3
Raw Normal View History

2021-09-08 08:27:14 +00:00
extends CanvasLayer
onready var animation = $AnimationPlayer
func _ready():
$TransitionSprite.visible = true
2021-09-14 10:22:39 +00:00
animation.play("FadeIn")
2021-09-28 15:55:03 +00:00
$FadeInSound.play(0)
2021-09-08 08:27:14 +00:00
func finish_animation():
queue_free()