Refactor input handling: replace hardcoded key inputs with configurable key bindings for character movement, inventory navigation, and actions; enhance settings scene with key rebind functionality and add credits scene.

This commit is contained in:
2026-04-03 14:46:35 +01:00
parent 5814a1fdee
commit bf1171a775
13 changed files with 175 additions and 41 deletions
+1
View File
@@ -2,6 +2,7 @@ class Menu < Scene
OPTIONS = {
"Start" => -> { $bus.emit(:change_scene, Game) },
"Settings" => -> { $bus.emit(:change_scene, Settings) },
"Credits" => -> { $bus.emit(:change_scene, Credits) },
"Quit" => -> { $bus.emit(:quit_game) }
}.freeze