Kept goiong, but not quite happy.

This commit is contained in:
2024-01-18 15:31:40 -08:00
parent 3a3b9b29db
commit 763ce182a4
15 changed files with 423 additions and 80 deletions
+5 -3
View File
@@ -1,5 +1,5 @@
extends Control
extends CanvasLayer
var start = preload("res://scenes/UI/Start.tscn").instantiate()
# Called when the node enters the scene tree for the first time.
func _ready():
@@ -16,5 +16,7 @@ func _on_quit():
get_tree().quit()
func load_start_menu():
get_tree().change_scene_to_file("res://scenes/UI/Start.tscn")
$".".hide()
get_tree().get_root().add_child( start )
#get_tree().change_scene_to_file("res://scenes/UI/Start.tscn")