Change run key to ctrl and some other messy stuff to make that work,,

This commit is contained in:
2026-09-27 20:10:03 -03:00
parent 966b517bbd
commit 2207eea1e1
4 changed files with 35 additions and 5 deletions
+3 -3
View File
@@ -9,9 +9,9 @@ export class Options {
key_left: KeyCode = "KeyA";
key_right: KeyCode = "KeyD";
key_jump: KeyCode = "Space";
key_sprint: KeyCode = "ShiftLeft";
// not shift like minecraft, that's sprint. ctrl isn't either: ctrl+w closes the tab and a page can't stop it
key_sneak: KeyCode = "KeyC";
// like minecraft. ctrl+w would close the tab, see confirm_leaving in main.ts
key_sprint: KeyCode = "ControlLeft";
key_sneak: KeyCode = "ShiftLeft";
key_inventory: KeyCode = "KeyE";
// with ctrl it drops the whole stack
key_drop: KeyCode = "KeyQ";