Comparer les révisions

2 Révisions

Auteur SHA1 Message Date
jimmyGALLAND 4972cd1eb9 Revert "disable debug mode, remove custom key bindings"
This reverts commit e0d4177ffb.
2025-10-27 00:56:30 +01:00
jimmyGALLAND 6527966282 Merge pull request #1 from jimmyGALLAND/change_keys
Feat: Support Azerty keyboard and improve cross-browser and environment compatibility
2025-10-27 00:52:51 +01:00
2 fichiers modifiés avec 4 ajouts et 1 suppressions
+3
Voir le fichier
@@ -237,12 +237,15 @@ function pressKey(code)
case "KeyU":
case "KeyY": //Y key to dig left, for German keyboards
case "Comma":
case "ControlRight":
keyAction = ACT_DIG_LEFT;
break;
case "KeyX":
case "KeyO":
case "KeyE":
case "Period":
case "Numpad0":
case "End":
keyAction = ACT_DIG_RIGHT;
break;
case "Escape": //help & pause
+1 -1
Voir le fichier
@@ -1,7 +1,7 @@
//============
// MISC
//============
var DEBUG = 0;
var DEBUG = 1;
var demoSoundOff = 1;
function debug(string)