UNMIRROR: the game draws directly, with no post-processing, yet EffectComposer, RenderPass, ShaderPass and more were bundled. grep found one EffectComposer hit: a comment. Symbol references were 0, so 6 files went: 52 → 45, zip 4.3 → 2.9 MB.
#gamedev#indiegame#indiedev
Reversing from the start line went 650 m on one course. There were side walls but none behind the start.
Fix: a transparent wall 10 m behind the line. 48 reverse attempts stopped, and 94 old records still matched, so no physics version bump.
#gamedev#indiegame#indiedev
PROBE GRAVITY: Cannot access 'phase' before initialization; blank board. I sent the console screenshot.
draw() declared a local const phase for HUD text, shadowing the outer phase; earlier lines hit its TDZ. Renamed it phaseTxt.
#gamedev#indiegame#indiedev
EPURER: node validate_presets.js hit ENOENT on out/presets.
The validator read the generator's output folder, not the shipped presets/. Fix: copy presets into out/, rerun: 1,012 pass. A validator should take the shipped tree as an argument.
#gamedev#indiegame#indiedev
LOOK EV: in a new chat, the 4 headless tests in the spec were gone. The work dir resets each session.
Past-chat search found only fragments. I chose rebuilding and proving green over restoring. The AI rebuilt all 4 from the spec and code.
#gamedev#indiegame#indiedev
Another chat had written a safe-area spec for all my apps. I handed it over: "do this."
Claude checked the game against it item by item, fixed only what was missing, and listed what I needed to check on a real phone.
#gamedev#indiegame#indiedev
HOOK UP!: window grid math had +34 / -34, an old spacing value, hardcoded in both drawing and collision. Change density and they drift apart.
Fix: one shared winGrid(). grep -c "+34\|-34" → 0; winGrid: 1 definition, 2 calls.
#gamedev#indiegame#indiedev
SEIZE: I fixed the auth bundle and reinstalled the APK. The phone still ran the old one.
sw.js cached files as CACHE = 'seize-v8', and reinstalling doesn't clear a service worker cache. Bumped it to 'seize-v9'. The AI took 3 hours to check sw.js.
#gamedev#indiegame#indiedev
UNMIRROR: models used to be base64 inside a JS file, which needed a rebuild script. After the move to .bin, the 3.7 MB ybotdata.js was still in the zip. grep -c ybotdata index.html showed 0 references, so it went.
#gamedev#indiegame#indiedev
Tutorial details I decided myself: everyone plays it once, then a choice to watch again or start the game, a "don't show again" box, and a tutorial entry in the gear menu.
Claude built it all and ran it start to finish.
#gamedev#indiegame#indiedev
FIRE MOAT: missiles fall, the town burns, and you dig moats with a shovel. Fire can't cross water. Nobody dies in this game. If you fail, people just run away. And at the end, there are the words WAR IS OVER.
#gamedev#indiegame#indiedev
Check every stage through the real UI code. The build script runs the actual screen code on a minimal fake DOM, plays each stage's shortest solution and fast-forwards requestAnimationFrame.
256 of 256 cleared. A layout violation exits with 1.
#gamedev#indiegame#indiedev
HAMMER FROG: node printed "max cant = NaN," 76 times. The overhang limit never applied.
Support cells were [x, z], so z is s[1], but the code read s[2], undefined. NaN > CANT_MAX is always false. Fix: s[1]. Measured max overhang: 1.
#gamedev#indiegame#indiedev
HOOK UP!: REST = 46 and MAXLEN = 300 initialized the hook, yet changed nothing.
Spring math never runs while idle, and firing always overwrote them. Fix: init rest: 0, maxlen: 0 and delete both. Referenced isn't the same as effective.
#gamedev#indiegame#indiedev
Don't open a tutorial with controls. Open with the story.
The two bear siblings face you and wave, and the little sister introduces them in three lines. Then the moving starts.
#gamedev#indiegame#indiedev
SMART VOID on phones: the first throws stuttered. Once FIRE showed up, it ran smooth. I found that pattern on my phone.
The AI guessed JIT, fonts, enemies. It was OffscreenCanvas: drawImage's first GPU upload. Dropped it.
#gamedev#indiegame#indiedev
Roll the snowball to just the right size.
SNOWBALL FIELDS: snow makes it grow, dirt makes it melt. Build a snowman together.
#gamedev#indiegame#indiedev
GYRO CHOPPER: I asked for a 4-blade rotor in SVG. One long blade and one short one spun. I saw it at once.
The AI drew each <rect> from the center out to one side. Fix: rects symmetric around the hub (x=195, width=290 around 340).
#gamedev#indiegame#indiedev