Level 4 — Molten Nest: Magma King boss - #7
Merged
Conversation
- src/boss.ts: MagmaKing state machine — arena patrol, telegraphed 3-glob magma spreads, telegraphed charge that staggers at the arena walls, and a 3-crystal-orb stun mechanic; stompable only while staggered/stunned, three hits defeat him. - Level 4 "Molten Nest" in level-data.ts: lava-pit approach, walled boss arena with orb perches (both walls have walk-under gaps), and a nest gate that latches open on defeat. - Magma glob projectiles, ember particles, boss roar + orb SFX. - HUD: boss HP bar with orb pips; victory ceremony gains a "THE MAGMA KING FALLS!" title, molten confetti, and a Magma King results line; menu gains the fifth level card. - Tests: boss state-machine suite, LEVEL_4 integrity checks, Game integration (defeat -> gate latch -> victory); 174 passing, typecheck/build/lint clean, headless E2E verified (zero page errors).
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
The endgame level: a short, climactic lava run ending in a pattern-based boss fight against the Magma King.
Boss (
src/boss.ts)onBossDefeated(fires exactly once), +1500Level 4 "Molten Nest"
Polish
Validation
Part of the Batch B "Endgame" plan (boss → power-ups → adaptive music).