Tune player speed to 12px per tick

This commit is contained in:
Justin Oros
2026-05-14 10:32:59 -07:00
parent c267845664
commit 255c7aae6c
+1 -1
View File
@@ -182,7 +182,7 @@ class Game {
const viewW = world.parentElement.offsetWidth || 420;
const viewH = world.parentElement.offsetHeight || 300;
const SPEED = 20; /* px per tick */
const SPEED = 12; /* px per tick */
let dx = 0, dy = 0, dir = '';
if (this._heldKeys.has('right')) { dx = SPEED; dir = 'right'; }