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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user