Reverted back to changing scenes for now. Ready for co-creative director review.

This commit is contained in:
2024-01-18 18:19:13 -08:00
parent 763ce182a4
commit 9dfa9f23f1
9 changed files with 103 additions and 53 deletions
+12 -8
View File
@@ -16,12 +16,16 @@ func _on_quit():
get_tree().quit()
func _on_play():
$".".hide()
var w = get_node("/root/World");
if !w:
get_tree().change_scene_to_file( "res://scenes/main.tscn" )
else:
w.player_spawn()
w.show()
#$".".hide()
#var w = get_node("/root/World");
#
#if !w:
get_tree().change_scene_to_file( "res://scenes/Start.tscn" )
#else:
#w.player_spawn()
#w.show()
func _on_label_2_button_up():
get_tree().change_scene_to_file("res://scenes/UI/Start.tscn")