file select and file creation, menus glued together

This commit is contained in:
Haze Weathers 2023-07-20 18:19:20 -04:00
parent 13708b4046
commit f7496c5e6f
18 changed files with 754 additions and 47 deletions

View file

@ -1,16 +1,15 @@
extends Node
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
export var next_scene: PackedScene
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func _ready() -> void:
Fade.fade_in(0.4)
$SelectFile1.call_deferred("grab_focus")
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func _on_file_loaded() -> void:
Fade.fade_out(0.4)
yield(Fade, "fade_finished")
SceneManager.current_scene = next_scene.instance()