From 858fa5fb2415da9f80ea37579fc184185ec91478 Mon Sep 17 00:00:00 2001 From: landgreen Date: Sun, 11 Oct 2020 10:47:50 -0700 Subject: [PATCH] finalized custom key inputs --- index.html | 72 ++++-- js/bullet.js | 4 +- js/game.js | 1 + js/index.js | 639 ++++++++++++++++++++++++++++++--------------------- js/mob.js | 2 +- js/mods.js | 18 +- js/player.js | 2 +- style.css | 20 +- todo.txt | 15 +- 9 files changed, 469 insertions(+), 304 deletions(-) diff --git a/index.html b/index.html index 6fbbf3e..9119338 100644 --- a/index.html +++ b/index.html @@ -133,40 +133,66 @@
-
+
controls
- + To change controls click a box
+ and press an unused key. +

+
- + + - + + - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + -
FIREleft mouseMouseLeft
FIELDright mouse / spacebarSPACEMouseRight
MOVEWASD / arrowsJUMPWArrowUp
GUNSQ / E / mouse wheelCROUCH SArrowDown
LEFTAArrowLeft
RIGHTDArrowRight
GUN → QMouseWheel
GUN ← EMouseWheel
PAUSEPP
TESTINGT
+ to default keys
@@ -354,12 +380,12 @@ - Q - E - W - S - D - A + Q + E + W + S + A + D