feat: Implement core player movement with advanced pushing mechanics, define game modes, and introduce various new managers and UI components.
This commit is contained in:
@@ -26,7 +26,9 @@ var listening_action: String = "" # Set when waiting for a keypress
|
||||
func _ready():
|
||||
# Theme inheritance is broken by CanvasLayer root, no need for theme = null
|
||||
_load_ui_values()
|
||||
_connect_signals()
|
||||
|
||||
if SettingsManager:
|
||||
_connect_signals()
|
||||
|
||||
# Initial visibility
|
||||
visible = false
|
||||
@@ -165,7 +167,7 @@ func _update_all_key_labels():
|
||||
|
||||
func _update_key_label(action_name: String):
|
||||
var btn = get_node_or_null("%" + action_name.to_pascal_case() + "Btn")
|
||||
if btn:
|
||||
if btn and SettingsManager:
|
||||
btn.text = SettingsManager.get_control_text(action_name)
|
||||
btn.modulate = Color.WHITE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user