From 236659c6a0c06a4a1da70e2ca68cfc3884499d9d Mon Sep 17 00:00:00 2001 From: JacobDChamberlain Date: Wed, 23 Sep 2026 00:20:44 -0500 Subject: [PATCH 1/6] Add merch booth plan doc Writes down the next round of booth work on one page: grid as the default view, clearer controls on both platforms, fullscreen + landscape on mobile, a touch joystick so phones can walk, background music, Jeff the Minotaur behind the counter with idle/excited/talking animation, a Galaga cabinet, and a fix for the "merch booth" sign that blinks under the band logo. Grounded in the current code: room dimensions, what WalkControls already does, and the platform limits (no element fullscreen on iOS, orientation lock unavailable there) that shape the mobile items. Co-Authored-By: Claude Opus 5 --- MERCH_BOOTH_PLAN.md | 240 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 MERCH_BOOTH_PLAN.md diff --git a/MERCH_BOOTH_PLAN.md b/MERCH_BOOTH_PLAN.md new file mode 100644 index 0000000..223e6e7 --- /dev/null +++ b/MERCH_BOOTH_PLAN.md @@ -0,0 +1,240 @@ +# Merch Booth — Next Round + +Working doc for the `merch-shop-ideas` branch. Nothing here is started; this is +the reference for what we're building and what each piece actually touches. + +Branched from `main` at `5b2bd4f` (includes PR #121, the size-ordering fix). + +--- + +## Where the booth is today + +Worth writing down, because several of these ideas are "change the default" +rather than "build a thing." + +- `/merch` renders `MerchBooth`, which picks between the 3D booth and the + classic `MerchGrid`. **Booth is currently the default**; the choice persists + in `localStorage['merch-view']`. No WebGL forces grid. +- **Desktop = first-person walk.** `WalkControls` does pointer-lock look, WASD / + arrows, Shift to crouch, Space to jump (you can land on the table), a center + reticle, and E to interact. Collision exists for the table, the grid-wall + rack, and the NPC. +- **Mobile = orbit only.** `walkMode = showBooth && !isMobile`, so phones get + `OrbitControls` (drag / pinch / pan) plus a one-line hint. You cannot walk on + a phone today. +- **Room:** booth at the origin facing +z, player spawns at z=7. Table spans + x ±4.5, z -0.95→1.65, top at y=1.0. Grid-wall rack at z=-0.85, top y=4.1. + Wall behind the booth at z=-3.4; the venue runs back to z=30. Walkable box is + x ±11.8, z -6→28.8. (`boothSpace.js`, `BoothStructure.js`, `WalkControls.js`) +- **Spencer** (`/models/spencer.glb`, 2.27 MB) stands at z=24, at the far back. + He's a photogrammetry scan, no animation — `useNpcModel` deliberately ignores + animation clips. One typed-out bark per visit (`BoothDialogue.js`). +- **Audio** is synthesized Web Audio only — footsteps, pickup/putdown blips, a + garble-per-character voice. No audio files, no music. (`boothAudio.js`) + +--- + +## 1. Grid becomes the default + +Flip the default so `/merch` opens as the familiar shop and the booth is +something you choose. + +- One-line change to the `useState` initializer in `MerchBooth.js`. +- **Wrinkle:** anyone who has already visited has `merch-view` set in + localStorage and will keep landing in the booth. If we want the new default to + apply to everyone, bump the key (`merch-view-2`) or clear the old one. +- The "Enter the booth" toggle becomes the front door, so it should stop looking + like a small utility button in the corner — give it some weight on the grid + page, probably near the top with a line of copy about what it is. + +## 2. Clearer controls and directions + +The controls we actually support are ahead of what we tell people. + +- The desktop overlay currently says only *"WASD / arrows to walk · mouse to + look · Esc to release"*. It never mentions **E to interact**, **Space to + jump**, or **Shift to crouch** — all of which work. +- Mobile gets no entry overlay at all, just `.booth-hint` at the bottom. +- Plan: one shared entry card that both platforms get, listing the real control + set for that device, and a persistent, dismissible control legend in a corner + while you're in there (rather than a hint that only shows before you start). +- Keep the entry card as the pointer-lock trigger on desktop — `WalkControls` + matches clicks on `#booth-explore` and the lock must come from a user gesture, + so whatever we build has to keep that id (or the matcher moves with it). + +## 3. Fullscreen + +Offer fullscreen from the same card that shows the directions — the spot the ▶ +button occupies now. Entering the booth and going fullscreen become one gesture, +with a plain "Enter the booth" fallback for anyone who'd rather not. + +**Platform reality, because this is the part that bites:** + +- Desktop + Android Chrome: `element.requestFullscreen()` on `.booth-stage` + works fine. +- **iOS Safari on iPhone has no Fullscreen API for regular elements** — only + `