you can now bind UI / Menu options to keys in the settings

This commit is contained in:
JHDev2006
2025-09-27 18:38:03 +01:00
parent 7728ccea7b
commit ec803a64a6
11 changed files with 159 additions and 82 deletions

View File

@@ -25,7 +25,7 @@ func _exit_tree() -> void:
Global.get_node("GameHUD").show()
func _process(_delta: float) -> void:
if Input.is_action_just_pressed("jump_0") and can_skip:
if Input.is_action_just_pressed("ui_accept") and can_skip:
go_to_menu()
func go_to_menu() -> void:

View File

@@ -2,6 +2,7 @@ class_name LevelEditorVisibleNode
extends Node2D
func _ready() -> void:
process_mode = Node.PROCESS_MODE_ALWAYS
update()
if Global.level_editor != null:
Global.level_editor.editor_start.connect(update)