the-crypt/Cutscenes/Intro.gd

12 lines
204 B
GDScript3
Raw Normal View History

2020-07-23 19:08:59 -05:00
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")