diff --git a/MERCH_BOOTH_PLAN.md b/MERCH_BOOTH_PLAN.md new file mode 100644 index 0000000..fc4f520 --- /dev/null +++ b/MERCH_BOOTH_PLAN.md @@ -0,0 +1,282 @@ +# 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 + +**Done** — e563ab1/687434b. + +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 + +**Done** — 687434b. + +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 + `