Text Settings done

This commit is contained in:
2025-06-16 23:31:04 +02:00
parent 2515716591
commit 319d7ae1e8
8 changed files with 422 additions and 166 deletions
+7 -3
View File
@@ -1,7 +1,6 @@
extends CanvasLayer
signal new_game_pressed
signal settings_pressed
# Called when the node enters the scene tree for the first time.
@@ -24,13 +23,18 @@ func _on_new_game_pressed() -> void:
func _on_load_pressed():
UI.get_node("UI/LoadTitle").show()
UI.get_node("UI/Load").show()
UI.get_node("UI/Load/MarginContainer/VBoxContainer/Control/Back").hide()
UI.get_node("UI/Load/MarginContainer/VBoxContainer/Control/BackTitle").show()
TransitionScreen.mask.visible = true
func _on_settings_pressed() -> void:
settings_pressed.emit()
UI.get_node("UI/Settings").show()
UI.get_node("UI/Settings/MarginContainer/VBoxContainer/Control/Back").hide()
UI.get_node("UI/Settings/MarginContainer/VBoxContainer/Control/BackTitle").show()
TransitionScreen.mask.visible = true