diff --git a/game.js b/game.js index 73b4aa5..83d7905 100644 --- a/game.js +++ b/game.js @@ -182,7 +182,7 @@ class Game { const viewW = world.parentElement.offsetWidth || 420; const viewH = world.parentElement.offsetHeight || 300; - const SPEED = 12; /* px per tick */ + const SPEED = 8; /* px per tick */ let dx = 0, dy = 0, dir = ''; if (this._heldKeys.has('right')) { dx = SPEED; dir = 'right'; } diff --git a/index.html b/index.html index d2aaccb..e6f5d43 100644 --- a/index.html +++ b/index.html @@ -107,13 +107,14 @@ ๐ฒ๐ณ๐ฒ ๐ณ๐ฒ๐ณ -