Draft preview: not yet live.

Explorer’s Lab › Orbit Lounge › Build log

Build log

Blender-modelled parts, pause menu, settings and high scores

Replaced the code-built parts with models made by a Blender script built to the physics' own dimensions, and added a pause menu, saved settings (volume, mute, left-handed layout) and a classic eight-entry high-score table with initials.

Date
23 Nov 2026
Tool
Claude Code
Model
Claude Opus 5.5
Human
Derek
Autonomy
AI-led
Generation
Gen 1 (in development)

Goal

Derek asked for the Blender art pass and for “pause and settings (volume, left-handed controls), plus an on-screen high-score table”.

What was done

Pause, settings and high scores

  • Pause: Esc, P or a ❚❚ button pauses (physics and game time freeze). The game also pauses automatically when the tab is hidden or the window loses focus. The menu has Resume, Settings, High scores, Restart game and Quit to title.
  • Settings, saved locally:
    • volume and mute;
    • a left-handed layout (the Launch and pause buttons move to the left);
    • camera shake on nudges.
  • High-score table:
    • the top eight, seeded with modest retro “house” scores, like a machine fresh from the factory; the old single high score carries over;
    • a qualifying score asks for three-letter initials;
    • the table appears on the title card (with your new entry highlighted) and in the score display’s attract cycle (Grand Champion, then the table).
  • Game controls are switched off while a menu is open or while typing initials.

Blender art pass

  • art/export-spec.ts exports the part sizes from src/table/table.ts (flipper length and radii, bumper radius, table size).
  • art/blender/build_parts.py builds every part to those sizes:
    • a fluted pop bumper with a domed translucent cap, chrome ring and nut;
    • flipper bats with a red rubber band and a hex nut;
    • turned posts with rubber rings;
    • drop and standup targets, the saucer cup and the plunger;
    • the cabinet: pinstriped rails with satin armour, a coin door, side flipper buttons, the lockdown bar, the apron with instruction cards, the backbox with a chrome-framed backglass, and chrome legs.
  • In the game, parts are cloned from parts.glb and placed from the layout. Collisions still come only from table.ts, so the art can’t change the physics. If the models fail to load, the code-built shapes are used instead.

What broke / dead ends

  • The backglass rendered upside down. glTF UVs use the opposite vertical convention to canvas textures; fixed with flipY = false on that texture.
  • Glare: polished chrome on the lockdown bar and the right rail armour triggered the bloom; switched them to satin metal and raised the bloom threshold.

Verification

  • 15/15 physics tests pass (the physics code is unchanged).
  • npm run check: full contract test passes.
  • Headless Chrome walkthrough:
    • pausing freezes the ball, and resuming moves it again;
    • settings are saved;
    • a forced top score asks for initials, and “clx” is saved as CLX in first place;
    • no console errors.
  • Download: 1.5 MB for the whole game, including the 0.5 MB model file.
  • Not verified: by hand on a real phone (touch buttons, left-handed layout), and audio levels across devices.