(Underdepths) Pass 5
This commit is contained in:
53 files changed
+5020
No files matched your search
@@ -0,0 +1,22 @@
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
|
||||
All edits landed cleanly. Phase 4c rendering is complete and verified.
|
||||
|
||||
## Summary
|
||||
|
||||
The render layer was already built by a prior dispatch and **passed the phase-4 gate**. I audited it against the full spec (not just the smoke minimum) and closed one genuine gap:
|
||||
|
||||
**Fixed — radial torch-light falloff** (explicitly required, a plan.md judging criterion; `effects.py`'s own docstring claimed it but the renderer did binary bright/dim):
|
||||
- `render/effects.py`: added `torch_factor(dx,dy,radius)` → 1.0 at the bearer's feet, fading to ~0.55 at the sight rim (Chebyshev distance, matches FOV radius).
|
||||
- `render/renderer.py`: visible tiles now dim by distance from the player; `_wall` now honors the factor (it previously ignored it); added normal "hit sparks" particle burst (plan.md lists it but only crit/death/level/pickup/stairs triggered before).
|
||||
|
||||
**Verified already-compliant:**
|
||||
- `data/sprites.py` — distinct 14×15 grids for stairs, player, all 7 enemies, small_slime, items (per-kind tints).
|
||||
- `render/sprites.py` — `get_sprite()` cached; stairs = `(245,215,70)` → R>120,G>100,B<110; self-check confirms 87 opaque/87 yellow pixels.
|
||||
- `render/renderer.py` — blits the stairs sprite on **every** `stairs_down` tile (visible or explored); pure read of state.
|
||||
- `render/camera.py` — smooth easing follow with map-bounds clamp.
|
||||
- explored-dimmed tiles, wall occlusion (via FOV), vignette, pooled particles, screen-shake.
|
||||
|
||||
**Gate result:** `phase 4: PASS` (incl. stairs-rendered pixel assertion + dragon-kill→victory), `phases 1–3: PASS`, `goal: PASS` — no regressions.
|
||||
|
||||
Skipped: torch flicker animation — falloff already sells the torch feel; add only if it reads too static.
|
||||
Reference in new issue
Block a user