feat: QoL weapon/UI batch — door fix, Red Right Hand + flamethrower right-offset, fire slowdown, literal armor dodge, persistent pedestals, menu shot-lock

This commit is contained in:
Quintine committed 2026-08-11 18:25:34 +10:00
1 parent 1131ed1e0b
commit b41dcd8ebb
9 files changed
+153 -45

No files matched your search

+4 -4
View File
@@ -239,10 +239,10 @@ function updateRoom(dt) {
enterRoom(r.gx + dx, r.gy + dy);
const next = G.arena;
// place player at the opposite door in the destination's own shape
if (dir === 'n') p.y = next.y1 - p.r - 8;
if (dir === 's') p.y = next.y0 + p.r + 8;
if (dir === 'e') p.x = next.x0 + p.r + 8;
if (dir === 'w') p.x = next.x1 - p.r - 8;
if (dir === 'n') { p.y = next.y1 - p.r - 8; p.x = next.cx; }
if (dir === 's') { p.y = next.y0 + p.r + 8; p.x = next.cx; }
if (dir === 'e') { p.x = next.x0 + p.r + 8; p.y = next.cy; }
if (dir === 'w') { p.x = next.x1 - p.r - 8; p.y = next.cy; }
p.x = clamp(p.x, next.x0 + p.r, next.x1 - p.r);
p.y = clamp(p.y, next.y0 + p.r, next.y1 - p.r);
if (G.entryFresh) { separateEntryWave(); G.entryFresh = false; }