Make the running game inspectable, and stop the beacons swallowing the view

The pane this build runs in does not composite, so requestAnimationFrame never
fires, the loop stalls, and nothing can be screenshotted from outside. Adds a
`?debug=1` handle that steps the simulation by hand and renders on demand, plus
a dev-only endpoint that takes a POSTed frame and writes it to shots/. Moving
the image as bytes rather than a pasted data URL matters: a truncated base64
string decodes to nothing.

Looking at the result immediately found a real problem. Base beacons were wide
translucent cylinders — legible from a distance, a solid green wall from inside,
and the car parks in the middle of one. Now a slim pillar plus a ring on the
ground that marks where to stop. Also raised the sky and fog brightness, which
was dark enough to read as night.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
dejvino
2026-08-07 15:38:27 +02:00
co-authored by Claude Opus 5
parent 06c7555188
commit 405f1b0dfe
6 changed files with 251 additions and 21 deletions
+1
View File
@@ -5,3 +5,4 @@ dist/
# local Claude Code settings
.claude/settings.local.json
shots/