Add Duskfen: Level 5 with rising-tide mechanic and dusk theme - #13
Merged
Conversation
- New level "Duskfen: The Drowned Vale" (7600px, 5 sections): dry intro, beetle bog with lava pit, canopy with spring + spitter + pterodactyls, flooded lowland with crumble bridge + plate/door gate, and the drowned vale with a continuous dry-hop route up to the nest rock. - Rising-tide mechanic: the waterline climbs 68px over ~136s while the run is live (keeps pressure through knockback/death, frozen on victory); submersion costs a heart and splashes Rex back up; one-shot "The tide is rising!" ping with a new low-whoosh SFX. Water renders in screen space with a gradient and animated sine surface. - Dusk theme: twilight sky palette with warm horizon, purple moon, twinkling stars, ember-dimmed volcano, soft purple clouds; firefly weather (16 blinking glows drifting over the marsh); a slow minor-key 76bpm music track. - Victory flourish for finishing Duskfen: "The fen falls silent. The nest is home." status + tide swell + 40 drifting particles. - 3 new Duskfen field notes (waterline / fireflies / silent fen); menu card accent + 6-card layout; daily generator untouched (explicit 3-theme list, no tide). - Tests: 8 new unit tests in tests/dusk.test.ts (registry, level structure, tide advance/cap/freeze, damage + bounce + one-shot ping, reset, dusk theme plumbing); legacy level-count assertions updated. 264/264 unit tests, build 155.56kB (47.72kB gzip), lint clean, 7/7 headless Playwright E2E checks with screenshot verification.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A fifth level, Duskfen: The Drowned Vale — the first level whose environment actively plays against you: a rising tide that climbs 68px over ~136s while the run is live.
Validation (local gate, per project standard)
npm run typecheck✓npm test— 264/264 (8 new intests/dusk.test.ts: registry, level structure, tide advance/cap/freeze, damage+bounce+one-shot ping, reset, dusk plumbing; legacy level-count assertions updated)npm run build— 155.56 kB / 47.72 kB gzip single filenpm run lint✓