the-crypt/Cutscenes/Intro.gd

12 lines
204 B
GDScript

extends CanvasLayer
signal finished
func finished():
emit_signal("finished")
func _process(delta):
if Input.is_action_just_pressed("open"):
$AnimationPlayer.play("reset")
emit_signal("finished")