Text Settings done
This commit is contained in:
+7
-3
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user