2024-01-18 15:31:40 -08:00
|
|
|
extends CanvasLayer
|
|
|
|
|
var start = preload("res://scenes/UI/Start.tscn").instantiate()
|
2024-01-18 11:52:02 -08:00
|
|
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
|
|
|
func _ready():
|
|
|
|
|
#$CenterContainer/VBoxContainer/Button05.button_up.connect( _on_quit )
|
|
|
|
|
#$CenterContainer/VBoxContainer/Button01.button_up.connect( _on_play )
|
|
|
|
|
pass # Replace with function body.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
|
|
|
func _process(delta):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
func _on_quit():
|
|
|
|
|
get_tree().quit()
|
|
|
|
|
|
|
|
|
|
func load_start_menu():
|
2024-01-18 18:19:13 -08:00
|
|
|
#$".".hide()
|
|
|
|
|
#get_tree().get_root().add_child( start )
|
|
|
|
|
get_tree().change_scene_to_file("res://scenes/UI/Start.tscn")
|
2024-01-18 11:52:02 -08:00
|
|
|
|