Draft preview: not yet live.

Explorer’s Lab › STARFIRE '79 › Build log

Build log

Initial build and playtest iterations of STARFIRE '79

Built the Blender-scripted 3D table, 480 Hz physics engine, Three.js renderer, Web Audio SFX/music, lights-out power-on sequence, and Game Over review across four days of playtest-driven fixes (23–26 Nov 2026).

Date
23 Nov 2026
Tool
Antigravity
Model
Gemini (exact model version not recorded)
Human
Derek
Autonomy
AI-led
Generation
Gen 1

Goal

Build a classic 1970s/80s 3D arcade pinball game for the browser with tactile flipper aiming/cradling, analog spring ball release, brass plumb-bob tilt, and Blender-generated 3D hardware.

What was done

  • Shared table spec (src/table/tableSpec.json): Single metric coordinate source of truth (0.54 m × 1.08 m, 27 mm steel ball, 6.5° slope) read by Blender, the physics engine, and Three.js artwork.
  • Blender 5.2.2 LTS asset script (blender/build_assets.py): Headlessly generates and exports pinball_table.glb (cabinet, brushed side rails, lockdown bar, upright backbox, drain apron, curved top arch, shooter divider, helical plunger spring & rod, tapered ivory-and-crimson flippers, three mushroom pop bumpers with movable striker rings, slingshots, posts, drop/standup banks, spinner, saucer cup, chrome pinball).
  • 480 Hz 2.5D physics (src/physics/engine.ts): 8 substeps per 60 Hz frame, 3 collision iterations per substep, tapered capsule flippers (ω × r surface velocity + velocity-dependent rubber restitution), analog spring plunger + one-way shooter gate, and a damped harmonic brass plumb-bob tilt pendulum.
  • Three.js renderer & lighting (src/render/SceneManager.ts, src/render/PlayfieldArt.ts): Painted 1024×2048 1979 cosmic sunburst playfield canvas, live 1024×768 backlit LED backglass canvas, custom dark arcade PMREM reflection environment, selective UnrealBloomPass, 4 camera presets (Classic, Dynamic, Overhead, Low), 21 top-arch marquee bulbs with a 2.65 s lights-out power-on choreography and ball-pass flash trail.
  • Audio & game loop (src/audio/SoundEngine.ts, src/audio/MusicSequencer.ts, src/game/GameController.ts): Procedural solenoid/bumper/chime/rolling-ball Web Audio synthesis, multi-mode reactive music switcher (Groove, '79 Pulse, Off), classic rules (A-B-C lane change, 2X–6X multiplier, S-T-A-R drop targets lighting Super Jets, F-I-R-E standups lighting Kickback, Cosmic Saucer, 10 s Ball Save with HUD countdown), and a native <dialog> Game Over review screen with per-ball scores and run stats.

What broke / dead ends

  1. Whiteout glare & upside-down textures: First render used RoomEnvironment + high GI light intensity (0.85) + low bloom threshold (0.86), blinding the playfield. Both canvas textures were also vertically inverted because glTF expects flipY = false while THREE.CanvasTexture defaults to flipY = true. Fixed with a custom dark arcade PMREM map, physically scaled lights, higher bloom threshold, and flipY = false.
  2. Stiff tilt bob: Initial pendulum stiffness (omega2 = 95, damping = 2.6) never reached the 1.0 ring radius even across six rapid nudges. Retuned to omega2 = 28, damping = 1.15 with swing-resonance amplification so SAFE → WARN 1 → DANGER! → TILT! triggers naturally.
  3. Backward/upside-down right flipper: Exporting the right flipper with 208° rotation caused Three.js Euler('XYZ') to decompose the glTF quaternion as (π, -28°, π); writing only .rotation.y left x = π, z = π. Fixed by using .rotation.set(0, angle, 0) and identity parent rotation in Blender.
  4. Slow-ball stall at right flipper pivot: Ending the 4.5 mm inlane guide rail at the centre of the 12.5 mm flipper pivot left an 8 mm V-notch, compounded by mu = 0.26 resting friction. Fixed by aligning both rail endpoints tangentially to the top rubber surface and dropping resting tangential friction to 0.05.
  5. Top-right V-pocket & inlane throat pinch: upper_right_deflector and oneWayGate formed an upward \ / trap; removing the deflector, reshaping saucer_hood into a continuous downward-left slope, and running a 395-point drop audit also revealed a 27.9 mm throat pinch at both inlane entrances (for a 27 mm ball) and a fast-drag plunger velocity-zeroing bug. All fixed and re-audited to zero stuck spots.
  6. Bloom, rolling audio, flipper gap & end-of-ball polish: Bloom dial-back initially overshot too matte (strength: 0.09) before settling at 0.16 / threshold: 1.18 with a satin-matte backglass; rolling ball audio went from inaudible (0.075 bandpass white noise) to too loud (0.48 pink noise) before settling at 0.18/0.055; flipper length grew from 80 mm (57.7 mm / 2.14× gap) to 85 mm (48.9 mm / 1.81× gap); post-drain reload shrank from 1.6 s to 0.42 s with instant serve on Space; Ball Save gained a visible countdown badge; and Game Over gained a delayed review screen so stray Space presses no longer wiped scores.

Human interventions

Derek drove every playtest cycle across 23–26 November with screenshots and concrete feedback: choosing the tech stack, catching the inverted right flipper, catching both stuck-ball locations, tuning glow intensity twice, requesting audible then softer rolling ball audio, tightening the flipper gap, choosing the multi-mode music switcher, proposing the lights-out power-on sequence and top-arch ball trail (then bumping the trail up a notch), speeding up ball reload, and asking for Ball Save clarity and a Game Over review screen.

Verification

  • npm run build:assets (Blender 5.2.2 LTS) and npm run build (tsc --noEmit && vite build with base: './') passed cleanly after each change.
  • Deterministic Node/Vite physics scripts verified 395-point playfield drop sweep (zero stuck reachable points), 9-level plunger launch (20%–100%), slow-roll & junction creep, center drain, and cradle-and-release.
  • Verified in desktop Chrome across multiple browser passes (gameplay, scoring, tilt progression, camera views, lighting, boot light show, music switcher, Ball Save countdown, and full 3-ball Game Over review).
  • Not verified in this phase: real mobile hardware, Safari, or throttled networks.

Next steps

Import the built dist/ snapshot into Wacky Wolf Explorer (projects/starfire-79/) with a proper start screen, back link, media captures, and catalogue checks.