Increase player walk speed from 4 to 10px per tick

This commit is contained in:
Justin Oros
2026-05-14 10:20:02 -07:00
parent bea5db77ca
commit 4566f54449
+1 -1
View File
@@ -183,7 +183,7 @@ class Game {
const viewH = world.parentElement.offsetHeight || 300;
const worldW = world.offsetWidth || viewW * 4;
const SPEED = 4; /* px per tick */
const SPEED = 10; /* px per tick */
let dx = 0, dy = 0, dir = '';
if (this._heldKeys.has('right')) { dx = SPEED; dir = 'right'; }