Flopsy/scenes/levels/credits/credits.gd

12 lines
320 B
GDScript3
Raw Normal View History

2022-07-20 04:28:30 +02:00
extends "res://scenes/levels/interlude.gd"
func _ready():
$CanvasLayer/CreditsScroller.play("scroll")
func _on_CreditsScroller_finished(anim_name):
2022-07-21 19:21:29 +02:00
get_tree().change_scene(GlobalState.MENU_SCENE)
func _process(delta):
if Input.is_action_just_pressed("ui_cancel"):
get_tree().change_scene(GlobalState.MENU_SCENE)