Devlog: W5, W6, W7 and v0.2.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -118,3 +118,57 @@ and feel still need a real GPU.
|
||||
about a day late. Next by the work order is W5 (#12, no priority label), then W6 (#13,
|
||||
water, core) and W7 (#14, the drop). If the next run finds v0.2 more than a day behind,
|
||||
defer W5 per the pacing rule and do W6 and W7 first.
|
||||
|
||||
## 2026-11-11 (midday): W5, W6, W7 and v0.2.0
|
||||
|
||||
**Start of run:** the tree held an unfinished W5 from the previous run: the prop
|
||||
simulation, `SimGround.remove_solid` and tests, but no view. Two of its tests had bugs.
|
||||
`_first_open` always returned -1 because its clearance scan touched the trunk itself, and
|
||||
the damage loop then spun forever, which hung the test run. Boulders on slopes were also
|
||||
buried on their uphill side. I fixed both, finished the work and committed it rather than
|
||||
stashing it. The Agents category held nothing for this task.
|
||||
|
||||
**Done:**
|
||||
- W5 (#12): `PropSet`, about 3,000 pines, scrub, boulders, wrecks and crates per island,
|
||||
each with one collision box and health. A destroyed prop's box is removed at once.
|
||||
`PropView` draws one MultiMesh per kind per 128 m square, about 150 draws, with
|
||||
per-kind visibility ranges and procedural flat-shaded meshes.
|
||||
- W6 (#13): a global sea level, changeable at runtime; wading; swimming (float, sprint,
|
||||
dive, kick out, stand up in the shallows); stamina, breath and drown damage, counted in
|
||||
ticks; no fall damage into deep water. `WaterView` is a procedural sea shader with
|
||||
depth tint, foam at the waterline and ripples that fade with distance.
|
||||
- W7 (#14): `Drop`, a seeded route that always crosses land, riding, leaping,
|
||||
freefall, the wing-sail (by hand or automatic at 40 m), steering, a safe handoff to
|
||||
landing or swimming, and ejection at the route's end. Every server match starts with
|
||||
the drop, and bots leap at a time fixed by their ID.
|
||||
- Closed milestone v0.2 and tagged `v0.2.0`.
|
||||
- Opened #72 (`needs-eric`, v0.6): the GDD's core loop describes the launch as a packet
|
||||
ship, a lifeline mortar and a gull-kite, while W7 says sky barge and wing-sail. Only
|
||||
names and visuals depend on it.
|
||||
|
||||
**Tests:** `make check` passes: 151 tests, self-check and smoke (p95 tick 0.53 ms with
|
||||
24 bots, who now leap from the barge). Captures checked by eye: props_forest,
|
||||
props_felled, props_overview, props_beach, props_crate, props_highland, water_shore
|
||||
and water_flood.
|
||||
|
||||
**Decisions:**
|
||||
- Vertex colours in generated meshes are sRGB (`vertex_color_is_srgb`). Without it the
|
||||
palette came out washed out.
|
||||
- Prop materials are matte, because a bright sky highlight on pine tips read as snow.
|
||||
- Swimming starts at 1.35 m of water and ends below 1.2 m. The gap stops players
|
||||
flickering between swimming and walking at the edge.
|
||||
- An exhausted swimmer sinks until the head is under, so stamina feeds into drowning.
|
||||
There's no separate "exhausted" damage.
|
||||
- The drop's route passes near the island's middle, pulled onto land, so every route
|
||||
crosses at least 250 m of dry land.
|
||||
- Gameplay timers (breath, stamina, drowning) are whole ticks, for exact replay.
|
||||
|
||||
**Known gaps:** no client scene yet puts terrain, props, water and a player together.
|
||||
That comes with the client and HUD work. There are no barge or sail visuals, pending #72.
|
||||
A swimmer can't climb onto pier decks yet. GPU frame times are unverified.
|
||||
|
||||
**Pace:** v0.2 finished about half a day late. v0.3 (9 issues) is due at the end of
|
||||
today, so the next run starts about a day behind. Next is B1 (#15, harvesting, which
|
||||
can use `PropSet.damage` and `material_of`), then B2 and B3. If the next run is more
|
||||
than a day behind, defer B4 (#18, priority/low) and then B8 (#22, no priority) as the
|
||||
pacing rule says.
|
||||
|
||||
Reference in New Issue
Block a user