Ledger #2 — drummer sits. E's sit.glb is wired into the shared rig stack: - FINDING: Fable's prescribed _rotWithHips (keep Hips.quaternion) MANGLES the pose in-shell (head folds to hip height / laid flat) — the fleet rigs' bind Hips orientation is incompatible with the Mixamo clip's, exactly what _rotOnly documents. So the sit clip rides _rotOnly (drops Hips.quaternion) like every clip; _rotWithHips removed. The seated read comes from the leg bends + a new spawnRig({seated}) foot-replant (opt-in; standing spawns skip it). - Drummer uses fleet.sitClip when present (retires SEAT_DROP), tags fig.userData.procitySeated=true (F's gate). Stature ~1.1-1.3m in [0.9,1.5]; reads seated from the crowd POV (kit hides the legs). Graceful SEAT_DROP fallback when sitClip absent (?noassets / before F wires {sit}). - BYTE-IDENTICAL proof (load-bearing): with sitClip null AND loaded, keepers are standing rigs (stature 1.718, innerRotY pi, replanted:false) and walkers 188/188 face travel. Parallel/opt-in path; _rotOnly + makeActor untouched. - F seam: loadPedFleet(base, {sit}) — pass sit:<gig active> (false under ?classic → no sit.glb fetch, classic covenant intact). Default off, graceful. Ledger #5 — backline unification. _addBackline plants E's guitar_amp at C's stage.backline[0] (== D's R15 pose, 0.75m bass clearance) instead of a hardcoded pose. C dropped its primitive ampStacks, so D owns the backline: placeholder- persists (primitive amp → GLB swap) with the primitive as the ?noassets fallback. Verified: GLB swaps, primitive under noassets, no crash, 0 fetch. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| pipeline | ||
| priorwork | ||
| tools | ||
| web | ||
| .gitignore | ||
| B-progress.md | ||
| C-progress.md | ||
| D-progress.md | ||
| E-progress.md | ||
| F-progress.md | ||
| README.md | ||
PROCITY
A standalone, procedurally generated, fully walkable 90s-Australian shopping town — every building enterable (the Vuntra City trick), every interior seeded and themed: record stores, op shops, toy shops, book barns, video rental, pawnbrokers, milk bars, market stalls. Built on the proven house stack (three.js r175 vendored, plain JS, no build step) and the asset DNA of 90sDJsim + thriftgod. v1 is the system; the GODVERSE/BaseGod real-item content plugs in later.
Run
cd web && python3 -m http.server 8130
# http://localhost:8130 (game shell — Lane B)
# http://localhost:8130/map.html (2D plan debugger — Lane A)
Read first
docs/CITY_SPEC.md— the treaty: schema, units, seeds, budgets, file ownership.docs/RESEARCH.md— what the parent repos already solved, with exact paths to port from.
The lanes (parallel Opus 4.8 sessions)
Each lane is a self-contained prompt. To run one, start an Opus session in this repo and say: "Read docs/LANES/LANE_X_….md and execute it." A–E are parallel-safe (disjoint files, standalone test pages); F integrates after they land.
| lane | mission | owns |
|---|---|---|
| A — CITYGEN | seed → CityPlan data (streets, blocks, lots, shops) + 2D map | js/citygen, js/core/registry.js, map.html |
| B — STREETSCAPE | chunk-streamed instanced 3D town + game shell | index.html, js/world |
| C — INTERIORS | every door opens: seeded themed shop interiors | js/interiors, interior_test.html |
| D — CITIZENS | rigged-near / impostor-far NPCs + shopkeepers | js/citizens, citizens_test.html, models/ |
| E — ASSETS | audit ultra's library, normalize GLBs, skins, manifest | pipeline/, assets/ |
| F — INTEGRATION | wire A–E into one seed-to-town game + QA gates | (after A–E) |
Already in the repo
web/vendor/— three.js r175 + addons (vendored from 90sDJsim; no CDN at runtime).web/assets/gen/— 69 generated texture skins (25 shopfront facades, 10 skies, 10 grounds, 8 wallpapers, 16 interior surfaces) inherited from thriftgod + 90sDJsim, style-locked.web/js/core/— frozen shared modules:prng.js(seeded-everything law),loaders.js(fail-soft promise-cached GLB/texture + 3GOD depot),canvas.js(text planes).
House laws (short form — CITY_SPEC has the fine print)
Seeded everything, Math.random banned in gen code · the game must run with zero assets ·
instancing from day one · canvas text, no font files · characters = shared base rigs + one
clip bank, canonical sources live outside this repo · 🟢 web-ok licensing only.
v3.0 — venues & gigs, THE DISTRICT (?gigs=1)
The Friday-night layer, shipped behind a flag so the default boot stays byte-identical to v2 (the
synthetic golden 0x3fa36874 never moves). Turn it on and each town seeds 2–4 venues — a pub, a
band room, an RSL — with a full seeded week of gigs (plan.gigs), town-wide posters, and a
Friday night that reads: a 4-piece band (front-line trio + drummer) with real instruments on the
stage, a mixed standing/dancing crowd, an outdoor queue at the door, a cover charge per
venue (paid & free nights), muffled gig spill through the wall + walla and applause inside,
streetlamp pools and lit frontages for the night walk, and identity continuity — the ped you
followed in off the street turns up in the crowd. Deterministic from the seed; asset-free
(?noassets=1) it all still happens with placeholders and zero fetches.
Flags (all default-off unless noted; compose freely):
| flag | what |
|---|---|
?seed=N |
town seed (default 20261990) |
?gigs=1 |
the v3.0 gig layer — venues, week schedule, band/crowd/queue, cover, posters, night pass |
?weather=rain · ?tram=1 · ?winmap=1 |
wet strip · tram loop · parallax interior-window shader |
?roster=stream |
chunk-streamed citizen density (on by default) · ?pop=N tunes it |
?dig=1 · ?stock=real |
crate-riffle on record bins · real GODVERSE sleeves in the stock |
?noassets=1 |
asset-free — zero network, 100% placeholders, still legible |
?plansrc=osm · ?mute=1 · ?dbg=1 |
OSM plan source · silence · the window.DBG capture/soak harness |
Release tour: docs/shots/release_v3/contact.html — the six money shots
(queue_night is the hero) with settled measurements. QA: tools/qa.sh --strict (6 gates) +
tools/qa/week_soak.py (the full-week soak) + the continuity/gig smokes in tools/flags_check.py.