13 lines
394 B
GDScript
13 lines
394 B
GDScript
extends Node2D
|
|
|
|
onready var label = $TextBlock/Label
|
|
|
|
func _ready():
|
|
Fade.fade_in(Options.transition_speed_secs)
|
|
label.text = label.text % str(Save.current_file.name)
|
|
|
|
func _input(event):
|
|
if Input.is_action_just_pressed("ui_accept"):
|
|
Fade.fade_out(Options.transition_speed_secs)
|
|
yield(Fade, "fade_finished")
|
|
SceneManager.current_scene = load("res://menus/intro_story.tscn").instance()
|