From ae699a0ae25eeb4c2dec9d24f7009e9ba3898862 Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Fri, 13 Nov 2026 17:17:35 +0100 Subject: [PATCH 1/8] feat(bosses): Choir Regent sings three movements you can read The sector 7 boss fired one fan pattern per phase on repeat and leaned on hull, so its fight felt long and samey. It now has three phases, each a fixed rhythm of volleys that leaves a different lane open: - Hymn: two interleaving fans, then a fan aimed at the player. - Antiphon (66%): outward loft fans keep the lane under the boss open, so flying in close (where Scatter is strongest) is safe; a nave fan then closes that lane, and a cantor's aimed burst follows the player. - Crescendo (33%): a rotary, the hymn and the lofts with a short burst, over a faster patrol. Hull drops from 1100 to 1040 so the measurement bot's mean kill lands on the 58 s par (57.1 s over two runs of all four guns). Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 1 + docs/level-design.md | 4 +- .../levels/definitions/ghostlightVeil.ts | 57 ++++++++++++++----- 3 files changed, 47 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee9972f..a7da03c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ All notable changes to this project will be documented in this file. - Boss health no longer grows when you buy weapons, fire rate, hull or shields. Upgrades now make boss fights shorter, as they should. Every boss has a fixed health tuned so a typical ship for that sector beats it in about 45 to 70 seconds. - A boss that is still alive after its par time slowly fires faster, up to a quarter faster. The wind-up before each volley never gets shorter. The first boss (sector 3) keeps its pace, and sectors 1 and 2 are unchanged. - Bastion Bulwark (sector 6) is rebuilt in three phases. Its shield now only closes while it charges a wall of shots with one gap in it, so you spend that time dodging, not waiting. At two thirds it starts flying from flank to flank, and at one third its shield breaks and it chases you and drops a beam on your lane. +- Choir Regent (sector 7) now fights in three phases, each with its own rhythm. First it fires two fans that interleave and then one aimed at you. At two thirds its fans turn outward and leave the lane under it open, then a fan closes that lane, then a quick burst follows you. At one third it adds a spinning volley and speeds up. ### Fixed diff --git a/docs/level-design.md b/docs/level-design.md index 389b1ea..8a9138f 100644 --- a/docs/level-design.md +++ b/docs/level-design.md @@ -146,7 +146,7 @@ All six hull styles are used; a phase can switch style (the finale does). Bastio | L4 | Marshal Vectra | pressure, 2 phases | 50 s | | L5 | Reef Stalker | pursuit, 2 phases | 52 s | | L6 | Bastion Bulwark | bulwark, 3 phases at 66% and 33%: rampart (shield only while charging a wall), breach (flank anchors, aimed burst, rotary), last stand (no shield, pursues, beam) | 60 s | -| L7 | Choir Regent | pressure, 2 phases | 58 s | +| L7 | Choir Regent | pressure, 3 phases at 66% and 33%, each a fixed rhythm: hymn (two interleaving fans, then a fan aimed at you), antiphon (outward loft fans that leave the lane under it open, a nave fan that closes it, a cantor's aimed burst), crescendo (rotary, hymn, lofts with a short burst, over a faster patrol) | 58 s | | L8 | Umbral Ark | carrier (debut), 2 phases | 62 s | | L9 | Hive Maelstrom | maelstrom (debut), 2 phases | 65 s | | L10 | Omega Null | pressure -> maelstrom (finale switch), 2 phases | 70 s | @@ -191,7 +191,7 @@ Difficulty shorthand: G = gentle, R = ramp, H = hard. ### L7: Hollow Choir (H) - planet Vesper Nine - motif: cathedral - Elite remix: lancers and gunships behind wormhole warp-ins, ghostly fade-in ambushes. -- Boss: Choir Regent (pressure, tuned hard). distance 19000, spawnRate 1.9. +- Boss: Choir Regent (pressure, tuned hard; three phases, each a fixed rhythm of fans and aimed bursts). distance 19000, spawnRate 1.9. - enemies: fighter 28, lancer 22, swarm 26, gunship 24. ### L8: Eclipse Narrows (H) - planet Umbral Rook - motif: eclipse diff --git a/src/config/levels/definitions/ghostlightVeil.ts b/src/config/levels/definitions/ghostlightVeil.ts index 32565c9..b705af8 100644 --- a/src/config/levels/definitions/ghostlightVeil.ts +++ b/src/config/levels/definitions/ghostlightVeil.ts @@ -1,7 +1,23 @@ -import type { LevelConfig } from '../types'; +import type { BossShotPattern, LevelConfig } from '../types'; import { arpeggiatorPatterns, bassPatterns } from '../music'; import { createSignatureMusic } from './reimaginedMusic'; +/** The hymn: a wide fan that leans with the patrol on every other beat, so consecutive fans interleave. */ +const CHOIR_HYMN: BossShotPattern = { + kind: 'arc', + shots: 7, + arcDegrees: 34, + speed: 1.08, + originY: 30, + lean: 6, + leanEveryOther: true, +}; +/** Two loft fans turned outward, which keep the lane straight under the boss clear. */ +const CHOIR_LOFTS: readonly BossShotPattern[] = [ + { kind: 'arc', shots: 6, arcDegrees: 34, speed: 1, originsX: [-70], originY: 26, angle: 18 }, + { kind: 'arc', shots: 6, arcDegrees: 34, speed: 1, originsX: [70], originY: 26, angle: -18 }, +]; + export const GHOSTLIGHT_VEIL_LEVEL: LevelConfig = { name: 'Hollow Choir', planetName: 'Vesper Nine', @@ -11,7 +27,7 @@ export const GHOSTLIGHT_VEIL_LEVEL: LevelConfig = { pacingSummary: 'Ghostly fade-in ambushes crescendo into the Choir Regent sermon.', enemyCompositionSummary: 'Lancers duel from the vaults; gunships lead; swarms fill the nave.', hazardSummary: 'Wormhole-spawn ambushes with elite escorts.', - bossConcept: 'Choir Regent conducts pressure patterns tuned harder than Marshal Vectra.', + bossConcept: 'Choir Regent conducts three movements of fans on a beat, each leaving a different lane open.', difficultyRole: 'Hard level demanding elite telegraph mastery.', journeyNote: 'The choir sings through portals; every verse arrives armed.', bgColor: '#0a0614', @@ -30,32 +46,47 @@ export const GHOSTLIGHT_VEIL_LEVEL: LevelConfig = { hasBoss: true, boss: { name: 'Choir Regent', - maxHp: 1100, + maxHp: 1040, parSeconds: 58, escalatesPastPar: true, phaseChangePauseMs: 260, + // A sermon in three movements on a beat: every phase is a fixed rhythm of volleys, and each one + // keeps the same few lanes so the player learns where the choir leaves room before it sings. phases: [ { + // Hymn: beat, beat, answer. Two interleaving fans, then a fan aimed at the player's lane. startsAtHull: 1, style: 'pressure', movement: { kind: 'patrol', speed: 80, edgePadding: 60 }, attacks: [ - { - cooldownMs: 990, - volley: [ - { kind: 'arc', shots: 7, arcDegrees: 34.1, speed: 1.02, originY: 30, lean: 6, leanEveryOther: true }, - ], - }, + { cooldownMs: 700, volley: [CHOIR_HYMN] }, + { cooldownMs: 700, volley: [CHOIR_HYMN] }, + { cooldownMs: 1000, volley: [{ kind: 'aimedArc', shots: 7, arcDegrees: 42, speed: 1.05, originY: 30 }] }, + ], + }, + { + // Antiphon: the lofts and the nave answer each other. The lofts leave the lane under the boss + // open (fly in close), the nave closes it and opens the flanks, then a cantor picks you out. + startsAtHull: 0.66, + style: 'pressure', + movement: { kind: 'patrol', speed: 60, edgePadding: 60 }, + attacks: [ + { cooldownMs: 900, volley: CHOIR_LOFTS }, + { cooldownMs: 900, volley: [{ kind: 'arc', shots: 7, arcDegrees: 30, speed: 1, originY: 30 }] }, + { cooldownMs: 1100, volley: [{ kind: 'aimedBurst', shots: 5, intervalMs: 120, speed: 1.15, originY: 30 }] }, ], }, { - startsAtHull: 0.5, + // Crescendo: the same voices, faster, over a sweeping patrol, with the rotary turning between them. + startsAtHull: 0.33, style: 'pressure', - movement: { kind: 'patrol', speed: 205, edgePadding: 60 }, + movement: { kind: 'patrol', speed: 120, edgePadding: 60 }, attacks: [ + { cooldownMs: 600, volley: [{ kind: 'spiral', shots: 8, degreesPerSecond: 285, speed: 1.08, originY: 30 }] }, + { cooldownMs: 600, volley: [CHOIR_HYMN] }, { - cooldownMs: 490, - volley: [{ kind: 'spiral', shots: 6, degreesPerSecond: 284.8, speed: 1.08, originY: 30 }], + cooldownMs: 850, + volley: [...CHOIR_LOFTS, { kind: 'aimedBurst', shots: 4, intervalMs: 120, speed: 1.15, originY: 30 }], }, ], }, From 372d63f7654e168874d83815470318ad5e3ade4c Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Fri, 13 Nov 2026 17:17:35 +0100 Subject: [PATCH 2/8] feat(bosses): Umbral Ark launches escorts in front of its guns The sector 8 carrier fired one pattern per phase and its summons were an afterthought. It now has three phases, and each opens with a launch that puts escorts between the player and the hull: - Hangar: a fighter pair, then two crossing broadsides that leave the flanks open. - Convoy (66%): a gunship rides ahead, flak follows the player, and the rotary turns. - Narrows (33%): a wall of shots whose gap moves each time, with a dodger pair launched into the corridor. Escorts in the firing line reward Lance (it pierces them on the way to the hull) and pull Seekers off the boss, so that pick becomes a trade-off; the standard gun stays fully viable. Hull rises from 1120 to 1320 so the bot's mean kill lands on the 62 s par (62.6 s over two runs of all four guns), instead of under it. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 1 + docs/level-design.md | 4 +- src/config/levels/definitions/crownOfRings.ts | 60 ++++++++++++++----- 3 files changed, 49 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7da03c..d61d353 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ All notable changes to this project will be documented in this file. - A boss that is still alive after its par time slowly fires faster, up to a quarter faster. The wind-up before each volley never gets shorter. The first boss (sector 3) keeps its pace, and sectors 1 and 2 are unchanged. - Bastion Bulwark (sector 6) is rebuilt in three phases. Its shield now only closes while it charges a wall of shots with one gap in it, so you spend that time dodging, not waiting. At two thirds it starts flying from flank to flank, and at one third its shield breaks and it chases you and drops a beam on your lane. - Choir Regent (sector 7) now fights in three phases, each with its own rhythm. First it fires two fans that interleave and then one aimed at you. At two thirds its fans turn outward and leave the lane under it open, then a fan closes that lane, then a quick burst follows you. At one third it adds a spinning volley and speeds up. +- Umbral Ark (sector 8) now fights in three phases, and each one opens by launching escorts in front of it. First a pair of fighters, then a gunship, and in the last third a pair of dodgers launched with a wall of shots whose gap moves each time. Lance shots pierce the escorts on their way to the hull; Seekers tend to chase the escorts instead of the Ark. ### Fixed diff --git a/docs/level-design.md b/docs/level-design.md index 8a9138f..3765188 100644 --- a/docs/level-design.md +++ b/docs/level-design.md @@ -147,7 +147,7 @@ All six hull styles are used; a phase can switch style (the finale does). Bastio | L5 | Reef Stalker | pursuit, 2 phases | 52 s | | L6 | Bastion Bulwark | bulwark, 3 phases at 66% and 33%: rampart (shield only while charging a wall), breach (flank anchors, aimed burst, rotary), last stand (no shield, pursues, beam) | 60 s | | L7 | Choir Regent | pressure, 3 phases at 66% and 33%, each a fixed rhythm: hymn (two interleaving fans, then a fan aimed at you), antiphon (outward loft fans that leave the lane under it open, a nave fan that closes it, a cantor's aimed burst), crescendo (rotary, hymn, lofts with a short burst, over a faster patrol) | 58 s | -| L8 | Umbral Ark | carrier (debut), 2 phases | 62 s | +| L8 | Umbral Ark | carrier (debut), 3 phases at 66% and 33%, each opening with a launch: hangar (fighter pair, crossing broadsides), convoy (a gunship escort, flak aimed at you, rotary), narrows (a wall whose gap moves, with a dodger pair launched into it) | 62 s | | L9 | Hive Maelstrom | maelstrom (debut), 2 phases | 65 s | | L10 | Omega Null | pressure -> maelstrom (finale switch), 2 phases | 70 s | @@ -196,7 +196,7 @@ Difficulty shorthand: G = gentle, R = ramp, H = hard. ### L8: Eclipse Narrows (H) - planet Umbral Rook - motif: eclipse - Convoy escort fantasy through tight corridors; bombers and gunships in pincer waves. -- Boss: Umbral Ark (carrier debut, escort summons). distance 19500, spawnRate 2.0. +- Boss: Umbral Ark (carrier debut; three phases, each opening with an escort launch in front of the hull). distance 19500, spawnRate 2.0. - enemies: bomber 22, gunship 30, dodger 20, fighter 28. ### L9: Swarmfront (H) - planet Hive Lathe - motif: hive diff --git a/src/config/levels/definitions/crownOfRings.ts b/src/config/levels/definitions/crownOfRings.ts index 9d9a02a..b97e07c 100644 --- a/src/config/levels/definitions/crownOfRings.ts +++ b/src/config/levels/definitions/crownOfRings.ts @@ -1,7 +1,21 @@ -import type { LevelConfig } from '../types'; +import type { BossMovementConfig, BossShotPattern, LevelConfig } from '../types'; import { arpeggiatorPatterns, bassPatterns } from '../music'; import { createSignatureMusic } from './reimaginedMusic'; +/** Two fans from the hangar decks, each turned in so they cross below the hull. */ +const ARK_BROADSIDE: readonly BossShotPattern[] = [ + { kind: 'arc', shots: 5, arcDegrees: 54, speed: 0.95, originsX: [-22], originY: 24, angle: -8 }, + { kind: 'arc', shots: 5, arcDegrees: 54, speed: 0.95, originsX: [22], originY: 24, angle: 8 }, +]; +/** Flak: a fan centred on the player. */ +const ARK_FLAK: BossShotPattern = { kind: 'aimedArc', shots: 7, arcDegrees: 48, speed: 1.05, originY: 30 }; +const ARK_PATROL: BossMovementConfig = { + kind: 'patrol', + speed: 58, + edgePadding: 90, + bob: { amplitude: 10, periodMs: 2417 }, +}; + export const CROWN_OF_RINGS_LEVEL: LevelConfig = { name: 'Eclipse Narrows', planetName: 'Umbral Rook', @@ -11,7 +25,7 @@ export const CROWN_OF_RINGS_LEVEL: LevelConfig = { pacingSummary: 'Corridor escort beats tighten into the Umbral Ark carrier engagement.', enemyCompositionSummary: 'Bombers and gunships pincer; dodgers harry the convoy line; fighters screen.', hazardSummary: 'Rock corridors and mirrored crossfire in eclipse shadow.', - bossConcept: 'Umbral Ark debuts the carrier style, summoning escorts through the narrows.', + bossConcept: 'Umbral Ark debuts the carrier style: every phase opens with an escort launch in front of the hull.', difficultyRole: 'Hard level testing convoy discipline under pincer pressure.', journeyNote: 'In the shadow of the eclipse, the convoy runs the narrows with the Ark astern.', bgColor: '#060608', @@ -30,39 +44,57 @@ export const CROWN_OF_RINGS_LEVEL: LevelConfig = { hasBoss: true, boss: { name: 'Umbral Ark', - maxHp: 1120, + maxHp: 1320, parSeconds: 62, escalatesPastPar: true, phaseChangePauseMs: 300, + // A carrier: every phase opens with a launch, and the escorts arrive in the line between the ship + // and the Ark. Clearing them costs time; ignoring them costs room. The broadside is its one gun. phases: [ { + // Hangar: a fighter pair, then two crossing broadsides; the crossing leaves the flanks open. startsAtHull: 1, style: 'carrier', - movement: { kind: 'patrol', speed: 57.6, edgePadding: 90, bob: { amplitude: 10, periodMs: 2417 } }, + movement: ARK_PATROL, attacks: [ { - cooldownMs: 1060, + cooldownMs: 1100, volley: [ - { kind: 'arc', shots: 4, arcDegrees: 54, speed: 0.931, originsX: [-22], originY: 24, angle: -8 }, - { kind: 'arc', shots: 4, arcDegrees: 54, speed: 0.931, originsX: [22], originY: 24, angle: 8 }, - { kind: 'summon', escorts: ['swarm', 'scout'], onVolleys: 'even' }, + { kind: 'summon', escorts: ['fighter', 'fighter'] }, + { kind: 'arc', shots: 3, arcDegrees: 14, speed: 0.9, originY: 30 }, ], }, + { cooldownMs: 1000, volley: ARK_BROADSIDE }, + { cooldownMs: 1000, volley: ARK_BROADSIDE }, + ], + }, + { + // Convoy: a gunship rides ahead of the hull, flak follows the player, and the rotary turns. + startsAtHull: 0.66, + style: 'carrier', + movement: { ...ARK_PATROL, speed: 75 }, + attacks: [ + { cooldownMs: 1100, volley: [{ kind: 'summon', escorts: ['gunship'] }, ...ARK_BROADSIDE] }, + { cooldownMs: 900, volley: [ARK_FLAK] }, + { cooldownMs: 900, volley: [{ kind: 'spiral', shots: 5, degreesPerSecond: 192, speed: 1.04, originY: 30 }] }, ], }, { - startsAtHull: 0.5, + // Narrows: every launch comes with a wall, so the dodger pair is met inside the one corridor + // left open, and the gap moves each time. + startsAtHull: 0.33, style: 'carrier', - movement: { kind: 'patrol', speed: 129.6, edgePadding: 90, bob: { amplitude: 10, periodMs: 2417 } }, + movement: { ...ARK_PATROL, speed: 90 }, attacks: [ { - cooldownMs: 550, + cooldownMs: 1300, volley: [ - { kind: 'spiral', shots: 5, degreesPerSecond: 192, speed: 1.04, originY: 30 }, - { kind: 'arc', shots: 5, arcDegrees: 38, speed: 1.04, originY: 26, lean: 4 }, - { kind: 'summon', escorts: ['fighter', 'swarm'], onVolleys: 'odd' }, + { kind: 'wall', gaps: [0.3, 0.7, 0.5], gapWidth: 120, spacing: 44, speed: 0.8, originY: 30 }, + { kind: 'summon', escorts: ['dodger', 'dodger'] }, ], }, + { cooldownMs: 900, volley: ARK_BROADSIDE }, + { cooldownMs: 900, volley: [ARK_FLAK] }, ], }, ], From c0a06cb5e8140cce34dd3d8069d822e89cfbfba4 Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Fri, 13 Nov 2026 17:33:29 +0100 Subject: [PATCH 3/8] feat(bosses): give Hive Maelstrom a vortex that tightens over three phases Hive Maelstrom fired one fan, then one spiral, on repeat. Now it teaches its spin before it hunts with it: a single ring fired twice so the turn is easy to read, then two rings turning against each other from a fast patrol, then at one third it slides after the player with its fastest rings. Swarm pairs (splitters in the last phase) launch beside the hull on every other round, so Lance clears them on the way to the boss and Seekers pay for chasing them without being starved. Hull and par are unchanged: the scripted bot kills it in 43-76 s (mean 59 s) against a 65 s par. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 9 ++- docs/level-design.md | 5 +- src/config/levels/definitions/obsidianMaw.ts | 68 ++++++++++++++++++-- 3 files changed, 71 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d61d353..7a1d0c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,12 +27,17 @@ All notable changes to this project will be documented in this file. - Boss health no longer grows when you buy weapons, fire rate, hull or shields. Upgrades now make boss fights shorter, as they should. Every boss has a fixed health tuned so a typical ship for that sector beats it in about 45 to 70 seconds. - A boss that is still alive after its par time slowly fires faster, up to a quarter faster. The wind-up before each volley never gets shorter. The first boss (sector 3) keeps its pace, and sectors 1 and 2 are unchanged. - Bastion Bulwark (sector 6) is rebuilt in three phases. Its shield now only closes while it charges a wall of shots with one gap in it, so you spend that time dodging, not waiting. At two thirds it starts flying from flank to flank, and at one third its shield breaks and it chases you and drops a beam on your lane. +### Fixed + +- The keyboard focus ring on the ship-system choices was cut off, leaving only a stray line under the first choice. The focused choice now lights up fully, and on very short screens the list scrolls to keep it in view instead of cutting off the last choice. + - Choir Regent (sector 7) now fights in three phases, each with its own rhythm. First it fires two fans that interleave and then one aimed at you. At two thirds its fans turn outward and leave the lane under it open, then a fan closes that lane, then a quick burst follows you. At one third it adds a spinning volley and speeds up. + - Umbral Ark (sector 8) now fights in three phases, and each one opens by launching escorts in front of it. First a pair of fighters, then a gunship, and in the last third a pair of dodgers launched with a wall of shots whose gap moves each time. Lance shots pierce the escorts on their way to the hull; Seekers tend to chase the escorts instead of the Ark. -### Fixed +- Hive Maelstrom (sector 9) is rebuilt in three phases. It starts with one ring of shots that turns between volleys, then spins two rings against each other while it sweeps the screen, and at one third it chases you and fires its fastest rings. Every other round it launches swarms (later splitters) in front of its hull, which Lance cuts through and which pull Seekers off the boss. + -- The keyboard focus ring on the ship-system choices was cut off, leaving only a stray line under the first choice. The focused choice now lights up fully, and on very short screens the list scrolls to keep it in view instead of cutting off the last choice. ## [1.33.0] - 2026-11-12 diff --git a/docs/level-design.md b/docs/level-design.md index 3765188..a177d55 100644 --- a/docs/level-design.md +++ b/docs/level-design.md @@ -148,7 +148,7 @@ All six hull styles are used; a phase can switch style (the finale does). Bastio | L6 | Bastion Bulwark | bulwark, 3 phases at 66% and 33%: rampart (shield only while charging a wall), breach (flank anchors, aimed burst, rotary), last stand (no shield, pursues, beam) | 60 s | | L7 | Choir Regent | pressure, 3 phases at 66% and 33%, each a fixed rhythm: hymn (two interleaving fans, then a fan aimed at you), antiphon (outward loft fans that leave the lane under it open, a nave fan that closes it, a cantor's aimed burst), crescendo (rotary, hymn, lofts with a short burst, over a faster patrol) | 58 s | | L8 | Umbral Ark | carrier (debut), 3 phases at 66% and 33%, each opening with a launch: hangar (fighter pair, crossing broadsides), convoy (a gunship escort, flak aimed at you, rotary), narrows (a wall whose gap moves, with a dodger pair launched into it) | 62 s | -| L9 | Hive Maelstrom | maelstrom (debut), 2 phases | 65 s | +| L9 | Hive Maelstrom | maelstrom (debut), 3 phases at 66% and 33%: brood wake (one turning ring fired twice, aimed sting, swarm pairs), maelstrom (counter-rotating rings from a fast patrol, aimed burst), eye of the storm (pursues, full-spin rings, splitter pairs) | 65 s | | L10 | Omega Null | pressure -> maelstrom (finale switch), 2 phases | 70 s | ## 3. The 10-level concept sheet @@ -201,7 +201,8 @@ Difficulty shorthand: G = gentle, R = ramp, H = hard. ### L9: Swarmfront (H) - planet Hive Lathe - motif: hive - Set-piece level: swarm survival. Splitters return; density peaks here. -- Boss: Hive Maelstrom (maelstrom debut, counter-rotating spirals). +- Boss: Hive Maelstrom (maelstrom debut, three phases: one turning ring, then counter-rotating rings, + then it hunts the player; swarm and splitter pairs launch in front of the hull). - distance 20000, spawnRate 2.1; enemies: swarm 45, splitter 15, dodger 15, fighter 25. ### L10: Eventide Engine (H) - planet Omega Spire - motif: singularity engine diff --git a/src/config/levels/definitions/obsidianMaw.ts b/src/config/levels/definitions/obsidianMaw.ts index b425a3d..42251fb 100644 --- a/src/config/levels/definitions/obsidianMaw.ts +++ b/src/config/levels/definitions/obsidianMaw.ts @@ -1,7 +1,30 @@ -import type { LevelConfig } from '../types'; +import type { BossShotPattern, LevelConfig } from '../types'; import { arpeggiatorPatterns, bassPatterns } from '../music'; import { createSignatureMusic } from './reimaginedMusic'; +/** One ring of spokes, turning between volleys. */ +const HIVE_RING: BossShotPattern = { kind: 'spiral', shots: 10, degreesPerSecond: 120, speed: 1, originY: 30 }; +/** A swarm pair beside the hull on every other round: enough to tax homing shots, not to starve the boss. */ +const HIVE_BROOD: BossShotPattern = { kind: 'summon', escorts: ['swarm', 'swarm'], onVolleys: 'even' }; +/** Two rings turning against each other: their spokes cross and part again. */ +const HIVE_VORTEX: BossShotPattern = { + kind: 'spiral', + shots: 7, + degreesPerSecond: 200, + speed: 1.05, + originY: 30, + mirrored: true, +}; +/** The vortex at full spin, fired from right above the player. */ +const HIVE_EYE: BossShotPattern = { + kind: 'spiral', + shots: 8, + degreesPerSecond: 240, + speed: 1.1, + originY: 30, + mirrored: true, +}; + export const OBSIDIAN_MAW_LEVEL: LevelConfig = { name: 'Swarmfront', planetName: 'Hive Lathe', @@ -11,7 +34,8 @@ export const OBSIDIAN_MAW_LEVEL: LevelConfig = { pacingSummary: 'Escalating swarm fronts crest into the Hive Maelstrom vortex.', enemyCompositionSummary: 'Swarms flood; splitters multiply; dodgers and fighters harry.', hazardSummary: 'Debris surges and ring crossfire woven through swarm fronts.', - bossConcept: 'Hive Maelstrom debuts the maelstrom style with counter-rotating spirals.', + bossConcept: + 'Hive Maelstrom spins one ring, then two against each other, then hunts the player while splitters pour out.', difficultyRole: 'Hard set-piece with maximum density before the finale.', journeyNote: 'The hive never stops; survival is the only objective.', bgColor: '#0a1006', @@ -34,21 +58,51 @@ export const OBSIDIAN_MAW_LEVEL: LevelConfig = { parSeconds: 65, escalatesPastPar: true, phaseChangePauseMs: 280, + // A vortex that tightens: it teaches one turning ring, then two rings turning against each other, + // then hunts the player with them. Its brood launches beside the hull and dives at the player, so a + // piercing gun clears it on the way to the boss while homing shots get pulled off the boss. phases: [ { + // Brood wake: the same ring twice in quick succession, so the turn is easy to see, then a sting + // aimed at whoever settled into a gap. startsAtHull: 1, style: 'maelstrom', movement: { kind: 'patrol', speed: 80, edgePadding: 60 }, - attacks: [{ cooldownMs: 1010, volley: [{ kind: 'arc', shots: 7, arcDegrees: 64, speed: 1, originY: 30 }] }], + attacks: [ + { cooldownMs: 1000, volley: [HIVE_RING, HIVE_BROOD] }, + { cooldownMs: 650, volley: [HIVE_RING] }, + { cooldownMs: 1100, volley: [{ kind: 'aimedArc', shots: 5, arcDegrees: 36, speed: 1.05, originY: 30 }] }, + ], + }, + { + // Maelstrom: counter-rotating rings from a fast patrol, so the crossing points never stay put. + startsAtHull: 0.66, + style: 'maelstrom', + movement: { kind: 'patrol', speed: 170, edgePadding: 60 }, + attacks: [ + { cooldownMs: 950, volley: [HIVE_VORTEX] }, + { cooldownMs: 600, volley: [HIVE_VORTEX] }, + { + cooldownMs: 1150, + volley: [HIVE_BROOD, { kind: 'aimedBurst', shots: 4, intervalMs: 140, speed: 1.15, originY: 30 }], + }, + ], }, { - startsAtHull: 0.5, + // Eye of the storm: it slides after the player and the brood turns to splitters, whose kills + // multiply; the gaps between spokes are the only shelter. + startsAtHull: 0.33, style: 'maelstrom', - movement: { kind: 'patrol', speed: 190, edgePadding: 60 }, + movement: { kind: 'pursuit', speed: 85, edgePadding: 60 }, attacks: [ + { cooldownMs: 850, volley: [HIVE_EYE] }, + { cooldownMs: 650, volley: [HIVE_EYE] }, { - cooldownMs: 510, - volley: [{ kind: 'spiral', shots: 7, degreesPerSecond: 224, speed: 1.08, originY: 30, mirrored: true }], + cooldownMs: 1250, + volley: [ + { kind: 'summon', escorts: ['splitter', 'splitter'], onVolleys: 'even' }, + { kind: 'aimedArc', shots: 5, arcDegrees: 30, speed: 1.15, originY: 30 }, + ], }, ], }, From c0aadc1d473dac7acf0ad770564262b4f029a473 Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Fri, 13 Nov 2026 17:33:29 +0100 Subject: [PATCH 4/8] feat(bosses): make Omega Null a four-phase final exam The finale fired one fan, then one spiral, and soaked up the most hull in the game. It now reprises what earlier bosses taught, one lesson per phase: interleaving fans with an aimed burst, a shielded wall with a gunship guard that Lance cuts through, counter-rotating rings and a low flank beam that rewards flying close with Scatter, and a last phase that hunts the player with a beam inside sparse rings, an aimed burst and a shielded wall in turn. It still switches from the pressure hull to the maelstrom hull at half health. Hull drops from 1880 to 1300 because the fight's time now goes into reading attacks: the scripted bot kills it in 56-72 s (mean 65 s) against the unchanged 70 s par, taking 3-5 hull hits and surviving. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 1 + docs/level-design.md | 5 +- .../levels/definitions/terminusBlack.ts | 93 ++++++++++++++++--- 3 files changed, 85 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a1d0c7..3883822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ All notable changes to this project will be documented in this file. - Umbral Ark (sector 8) now fights in three phases, and each one opens by launching escorts in front of it. First a pair of fighters, then a gunship, and in the last third a pair of dodgers launched with a wall of shots whose gap moves each time. Lance shots pierce the escorts on their way to the hull; Seekers tend to chase the escorts instead of the Ark. - Hive Maelstrom (sector 9) is rebuilt in three phases. It starts with one ring of shots that turns between volleys, then spins two rings against each other while it sweeps the screen, and at one third it chases you and fires its fastest rings. Every other round it launches swarms (later splitters) in front of its hull, which Lance cuts through and which pull Seekers off the boss. +- Omega Null (sector 10), the final boss, now has four phases that bring back what earlier bosses taught: leaning fans and aimed bursts, a shielded wall with a gunship guard, counter-rotating rings and a beam, and at the end all of them in turn while it chases you. It switches hulls at half health as before, and has less health, so the fight is about reading attacks rather than wearing it down. diff --git a/docs/level-design.md b/docs/level-design.md index a177d55..8f24bf9 100644 --- a/docs/level-design.md +++ b/docs/level-design.md @@ -149,7 +149,7 @@ All six hull styles are used; a phase can switch style (the finale does). Bastio | L7 | Choir Regent | pressure, 3 phases at 66% and 33%, each a fixed rhythm: hymn (two interleaving fans, then a fan aimed at you), antiphon (outward loft fans that leave the lane under it open, a nave fan that closes it, a cantor's aimed burst), crescendo (rotary, hymn, lofts with a short burst, over a faster patrol) | 58 s | | L8 | Umbral Ark | carrier (debut), 3 phases at 66% and 33%, each opening with a launch: hangar (fighter pair, crossing broadsides), convoy (a gunship escort, flak aimed at you, rotary), narrows (a wall whose gap moves, with a dodger pair launched into it) | 62 s | | L9 | Hive Maelstrom | maelstrom (debut), 3 phases at 66% and 33%: brood wake (one turning ring fired twice, aimed sting, swarm pairs), maelstrom (counter-rotating rings from a fast patrol, aimed burst), eye of the storm (pursues, full-spin rings, splitter pairs) | 65 s | -| L10 | Omega Null | pressure -> maelstrom (finale switch), 2 phases | 70 s | +| L10 | Omega Null | pressure -> maelstrom (finale switch at 50%), 4 phases at 75%, 50% and 25%: pressure (interleaving fans, aimed burst), siege (shielded wall, gunship guard, aimed fan), maelstrom (counter-rotating rings, low flank beam), null (pursues: beam inside sparse rings, aimed burst, shielded wall) | 70 s | ## 3. The 10-level concept sheet @@ -208,7 +208,8 @@ Difficulty shorthand: G = gentle, R = ramp, H = hard. ### L10: Eventide Engine (H) - planet Omega Spire - motif: singularity engine - Final exam: the level reprises every gimmick in sequence (wormholes, minefields, flares, lattice, corridors) across 6 sections. -- Boss: Omega Null, pressure into maelstrom phase switch, the hardest fight in the game. +- Boss: Omega Null, the hardest fight in the game: four phases that reprise earlier bosses (fans, + shielded walls, gunship guard, rings, beams), switching pressure into maelstrom at half hull. - distance 21000, spawnRate 2.25; enemies: fighter 30, lancer 18, gunship 32, sower 20. ## 4. Re-theme sync points diff --git a/src/config/levels/definitions/terminusBlack.ts b/src/config/levels/definitions/terminusBlack.ts index 36e1fa2..4e3672a 100644 --- a/src/config/levels/definitions/terminusBlack.ts +++ b/src/config/levels/definitions/terminusBlack.ts @@ -1,7 +1,28 @@ -import type { LevelConfig } from '../types'; +import type { BossMovementConfig, BossShotPattern, LevelConfig } from '../types'; import { arpeggiatorPatterns, bassPatterns } from '../music'; import { createSignatureMusic } from './reimaginedMusic'; +/** Its signature fan: leans with the patrol on every other volley, so consecutive fans interleave. */ +const OMEGA_FANS: BossShotPattern = { + kind: 'arc', + shots: 8, + arcDegrees: 36, + speed: 1, + originY: 30, + lean: 6, + leanEveryOther: true, +}; +/** Two rings turning against each other, the maelstrom hull's answer to the fans. */ +const OMEGA_VORTEX: BossShotPattern = { + kind: 'spiral', + shots: 6, + degreesPerSecond: 220, + speed: 1, + originY: 30, + mirrored: true, +}; +const OMEGA_PATROL: BossMovementConfig = { kind: 'patrol', speed: 90, edgePadding: 60 }; + export const TERMINUS_BLACK_LEVEL: LevelConfig = { name: 'Eventide Engine', planetName: 'Omega Spire', @@ -11,7 +32,7 @@ export const TERMINUS_BLACK_LEVEL: LevelConfig = { pacingSummary: 'Wormholes, minefields, flares, lattices, and corridors reprise before Omega Null.', enemyCompositionSummary: 'An elite lineup: lancers and gunships lead, sowers deny, fighters press.', hazardSummary: 'Every hazard type returns as a reprise sequence.', - bossConcept: 'Omega Null switches pressure into maelstrom at phase two; the hardest fight.', + bossConcept: 'Omega Null reprises every boss lesson in four phases, switching pressure into maelstrom at half hull.', difficultyRole: 'Finale and total mastery check.', journeyNote: 'The Eventide Engine powers down only for the worthy.', bgColor: '#04060f', @@ -30,33 +51,81 @@ export const TERMINUS_BLACK_LEVEL: LevelConfig = { hasBoss: true, boss: { name: 'Omega Null', - maxHp: 1880, + maxHp: 1300, parSeconds: 70, escalatesPastPar: true, phaseChangePauseMs: 240, + // The final exam, like the sector that leads to it: each phase reprises a lesson from an earlier boss, and + // the last one asks for all of them in turn. The hull switches from pressure to maelstrom at half. phases: [ { + // Pressure: interleaving fans that lean with its patrol, then a burst aimed at the player's lane. startsAtHull: 1, style: 'pressure', - movement: { kind: 'patrol', speed: 80, edgePadding: 60 }, + movement: OMEGA_PATROL, + attacks: [ + { cooldownMs: 950, volley: [OMEGA_FANS] }, + { cooldownMs: 950, volley: [OMEGA_FANS] }, + { cooldownMs: 1150, volley: [{ kind: 'aimedBurst', shots: 4, intervalMs: 140, speed: 1.15, originY: 30 }] }, + ], + }, + { + // Siege: it shields while it charges a wall, and every other round launches a gunship guard + // in front of the hull, which a piercing gun cuts through on its way to the boss. + startsAtHull: 0.75, + style: 'pressure', + movement: OMEGA_PATROL, attacks: [ { - cooldownMs: 970, - volley: [ - { kind: 'arc', shots: 8, arcDegrees: 36.3, speed: 1.04, originY: 30, lean: 6, leanEveryOther: true }, - ], + cooldownMs: 1200, + shielded: true, + volley: [{ kind: 'wall', gaps: [0.25, 0.75, 0.5], gapWidth: 120, spacing: 44, speed: 0.7, originY: 30 }], + }, + { + cooldownMs: 1000, + volley: [OMEGA_FANS, { kind: 'summon', escorts: ['gunship', 'gunship'], onVolleys: 'even' }], + }, + { + cooldownMs: 1000, + volley: [{ kind: 'aimedArc', shots: 5, arcDegrees: 30, speed: 1.1, originY: 30 }], }, ], }, { - // The finale switches hulls: pressure into maelstrom. + // Maelstrom: counter-rotating rings from its patrol, then it drops low on one flank and burns + // a beam straight down. Beside the beam, close under the hull, is the place to be for a short gun. startsAtHull: 0.5, style: 'maelstrom', - movement: { kind: 'patrol', speed: 200, edgePadding: 60 }, + movement: OMEGA_PATROL, + attacks: [ + { cooldownMs: 900, volley: [OMEGA_VORTEX] }, + { cooldownMs: 600, volley: [OMEGA_VORTEX] }, + { + cooldownMs: 1100, + anchor: { x: 0.7, y: 140 }, + volley: [{ kind: 'beam', width: 40, telegraphMs: 700, activeMs: 700, originY: 30 }], + }, + ], + }, + { + // Null: it hunts the player's lane with everything it has taught, one lesson per volley, so + // each still reads on its own: a beam inside sparse rings, an aimed burst, a shielded wall. + startsAtHull: 0.25, + style: 'maelstrom', + movement: { kind: 'pursuit', speed: 70, edgePadding: 60 }, attacks: [ { - cooldownMs: 460, - volley: [{ kind: 'spiral', shots: 8, degreesPerSecond: 240, speed: 1.12, originY: 30, mirrored: true }], + cooldownMs: 1200, + volley: [ + { kind: 'beam', width: 36, telegraphMs: 650, activeMs: 750, originY: 30 }, + { kind: 'spiral', shots: 5, degreesPerSecond: 90, speed: 0.85, originY: 30, mirrored: true }, + ], + }, + { cooldownMs: 1000, volley: [{ kind: 'aimedBurst', shots: 5, intervalMs: 120, speed: 1.15, originY: 30 }] }, + { + cooldownMs: 1300, + shielded: true, + volley: [{ kind: 'wall', gaps: [0.3, 0.7], gapWidth: 120, spacing: 44, speed: 0.75, originY: 30 }], }, ], }, From 9d93256f603c8f7d9ded3a159c0704b5ae6d2cc0 Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Fri, 13 Nov 2026 17:31:53 +0100 Subject: [PATCH 5/8] feat(bosses): give Pyre Herald two attacks per phase The first boss fired one pattern per phase on repeat. It now alternates two slow, widely spaced attacks per phase, so a new player sees more than one volley to read without the fight getting harder: twin ember fans and a fan that leans with its patrol, then a turning spiral and the game's first aimed fan. It still never escalates and needs no gun pick; hull is retuned (275 -> 335) so the measured kill lands under its 45 s par. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 5 ++-- docs/level-design.md | 4 +-- .../levels/definitions/ionStormSector.ts | 28 +++++++++++++++---- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3883822..4d0bad2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,14 +30,13 @@ All notable changes to this project will be documented in this file. ### Fixed - The keyboard focus ring on the ship-system choices was cut off, leaving only a stray line under the first choice. The focused choice now lights up fully, and on very short screens the list scrolls to keep it in view instead of cutting off the last choice. - - Choir Regent (sector 7) now fights in three phases, each with its own rhythm. First it fires two fans that interleave and then one aimed at you. At two thirds its fans turn outward and leave the lane under it open, then a fan closes that lane, then a quick burst follows you. At one third it adds a spinning volley and speeds up. - - Umbral Ark (sector 8) now fights in three phases, and each one opens by launching escorts in front of it. First a pair of fighters, then a gunship, and in the last third a pair of dodgers launched with a wall of shots whose gap moves each time. Lance shots pierce the escorts on their way to the hull; Seekers tend to chase the escorts instead of the Ark. - - Hive Maelstrom (sector 9) is rebuilt in three phases. It starts with one ring of shots that turns between volleys, then spins two rings against each other while it sweeps the screen, and at one third it chases you and fires its fastest rings. Every other round it launches swarms (later splitters) in front of its hull, which Lance cuts through and which pull Seekers off the boss. - Omega Null (sector 10), the final boss, now has four phases that bring back what earlier bosses taught: leaning fans and aimed bursts, a shielded wall with a gunship guard, counter-rotating rings and a beam, and at the end all of them in turn while it chases you. It switches hulls at half health as before, and has less health, so the fight is about reading attacks rather than wearing it down. +- Pyre Herald (sector 3), the first boss, now alternates two slow attacks per phase instead of repeating one: twin ember fans and a fan that drifts with it, then a turning spiral and its first shots aimed at you. It stays as gentle as before, never speeds up and needs no main gun. + ## [1.33.0] - 2026-11-12 diff --git a/docs/level-design.md b/docs/level-design.md index 8f24bf9..ed1c7ad 100644 --- a/docs/level-design.md +++ b/docs/level-design.md @@ -142,7 +142,7 @@ All six hull styles are used; a phase can switch style (the finale does). Bastio | Level | Boss | Phases | Par | |---|---|---|---| -| L3 | Pyre Herald | barrage, 2 phases (no escalation) | 45 s | +| L3 | Pyre Herald | barrage, 2 phases at 50% (no escalation), two attacks each with slow shots and long gaps: kindling (twin ember fans, a fan that leans with its patrol), pyre (faster patrol, turning spiral, the first aimed fan) | 45 s | | L4 | Marshal Vectra | pressure, 2 phases | 50 s | | L5 | Reef Stalker | pursuit, 2 phases | 52 s | | L6 | Bastion Bulwark | bulwark, 3 phases at 66% and 33%: rampart (shield only while charging a wall), breach (flank anchors, aimed burst, rotary), last stand (no shield, pursues, beam) | 60 s | @@ -169,7 +169,7 @@ Difficulty shorthand: G = gentle, R = ramp, H = hard. ### L3: Ember Monsoon (G->R) - planet Cinderreach - motif: ember storm - Sower + minefield debut; energy-storm returns as the weather. -- First boss: Pyre Herald (barrage), taught by a mid-boss elite wave at 60%. +- First boss: Pyre Herald (barrage), taught by a mid-boss elite wave at 60%. Two gentle phases of two attacks each; it never escalates and needs no gun pick. - distance 14500, spawnRate 1.35; enemies: fighter 30, sower 18, swarm 27, diver 25. - Drops: health at the heat front, shield pre-boss. diff --git a/src/config/levels/definitions/ionStormSector.ts b/src/config/levels/definitions/ionStormSector.ts index 96c3b74..3d01a1a 100644 --- a/src/config/levels/definitions/ionStormSector.ts +++ b/src/config/levels/definitions/ionStormSector.ts @@ -1,7 +1,17 @@ -import type { LevelConfig } from '../types'; +import type { BossShotPattern, LevelConfig } from '../types'; import { arpeggiatorPatterns, bassPatterns } from '../music'; import { createSignatureMusic } from './reimaginedMusic'; +/** Twin wide fans from the hull's flanks: wide lanes, slow embers. */ +const HERALD_EMBER_FANS: BossShotPattern = { + kind: 'arc', + shots: 5, + arcDegrees: 80, + speed: 0.9, + originsX: [-18, 18], + originY: 30, +}; + export const ION_STORM_SECTOR_LEVEL: LevelConfig = { name: 'Ember Monsoon', planetName: 'Cinderreach', @@ -30,29 +40,35 @@ export const ION_STORM_SECTOR_LEVEL: LevelConfig = { hasBoss: true, boss: { name: 'Pyre Herald', - maxHp: 275, + maxHp: 335, parSeconds: 45, // The first boss keeps its pace however long the fight runs. escalatesPastPar: false, phaseChangePauseMs: 260, + // The first boss teaches reading a volley: two attacks per phase, slow shots and long gaps, + // nothing that needs a gun pick. phases: [ { + // Kindling: a slow patrol that rains embers straight down, then lets them drift with it. startsAtHull: 1, style: 'barrage', movement: { kind: 'patrol', speed: 80, edgePadding: 60 }, attacks: [ + { cooldownMs: 1100, volley: [HERALD_EMBER_FANS] }, { - cooldownMs: 1050, - volley: [{ kind: 'arc', shots: 5, arcDegrees: 80.5, speed: 0.92, originsX: [-18, 18], originY: 30 }], + cooldownMs: 1300, + volley: [{ kind: 'arc', shots: 7, arcDegrees: 60, speed: 0.8, originY: 30, lean: 14 }], }, ], }, { + // Pyre: a faster patrol throws a turning spiral, then the first shots aimed at the player. startsAtHull: 0.5, style: 'barrage', - movement: { kind: 'patrol', speed: 170, edgePadding: 60 }, + movement: { kind: 'patrol', speed: 150, edgePadding: 60 }, attacks: [ - { cooldownMs: 560, volley: [{ kind: 'spiral', shots: 4, degreesPerSecond: 160, speed: 0.98, originY: 30 }] }, + { cooldownMs: 700, volley: [{ kind: 'spiral', shots: 5, degreesPerSecond: 160, speed: 0.92, originY: 30 }] }, + { cooldownMs: 1000, volley: [{ kind: 'aimedArc', shots: 3, arcDegrees: 36, speed: 0.85, originY: 30 }] }, ], }, ], From ebecc2b56732af8df9963f78d5949b8a337aa3f3 Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Fri, 13 Nov 2026 17:32:10 +0100 Subject: [PATCH 6/8] feat(bosses): give Marshal Vectra a drill and an advance Marshal Vectra fired one fan, then one fast spiral, on repeat. Its fight now teaches anchors, one new idea for sector 4: two line fans to step out of, then a crossfire that leaves a pocket under the hull, so closing in is the reward (Scatter shines there; every gun works). At half hull it steps forward to a centre post for the crossfire and adds a spiral to its march. Hull drops 585 -> 505 so the measured kill sits under its 50 s par. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 1 + docs/level-design.md | 4 +- .../levels/definitions/warzoneCorridor.ts | 43 +++++++++++++------ 3 files changed, 33 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d0bad2..905df4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ All notable changes to this project will be documented in this file. - Omega Null (sector 10), the final boss, now has four phases that bring back what earlier bosses taught: leaning fans and aimed bursts, a shielded wall with a gunship guard, counter-rotating rings and a beam, and at the end all of them in turn while it chases you. It switches hulls at half health as before, and has less health, so the fight is about reading attacks rather than wearing it down. - Pyre Herald (sector 3), the first boss, now alternates two slow attacks per phase instead of repeating one: twin ember fans and a fan that drifts with it, then a turning spiral and its first shots aimed at you. It stays as gentle as before, never speeds up and needs no main gun. +- Marshal Vectra (sector 4) now drills two line fans and then a crossfire that leaves a safe pocket right under it, so flying in close is the opening. At half health it starts stepping forward to a post at the centre, closer to you, and adds a turning spiral. diff --git a/docs/level-design.md b/docs/level-design.md index ed1c7ad..409d84b 100644 --- a/docs/level-design.md +++ b/docs/level-design.md @@ -143,7 +143,7 @@ All six hull styles are used; a phase can switch style (the finale does). Bastio | Level | Boss | Phases | Par | |---|---|---|---| | L3 | Pyre Herald | barrage, 2 phases at 50% (no escalation), two attacks each with slow shots and long gaps: kindling (twin ember fans, a fan that leans with its patrol), pyre (faster patrol, turning spiral, the first aimed fan) | 45 s | -| L4 | Marshal Vectra | pressure, 2 phases | 50 s | +| L4 | Marshal Vectra | pressure, 2 phases at 50%; introduces anchors: drill (two line fans, then a crossfire with a pocket under the hull), advance (steps forward to a centre post for the crossfire, then a line fan and a spiral) | 50 s | | L5 | Reef Stalker | pursuit, 2 phases | 52 s | | L6 | Bastion Bulwark | bulwark, 3 phases at 66% and 33%: rampart (shield only while charging a wall), breach (flank anchors, aimed burst, rotary), last stand (no shield, pursues, beam) | 60 s | | L7 | Choir Regent | pressure, 3 phases at 66% and 33%, each a fixed rhythm: hymn (two interleaving fans, then a fan aimed at you), antiphon (outward loft fans that leave the lane under it open, a nave fan that closes it, a cantor's aimed burst), crescendo (rotary, hymn, lofts with a short burst, over a faster patrol) | 58 s | @@ -175,7 +175,7 @@ Difficulty shorthand: G = gentle, R = ramp, H = hard. ### L4: Clockwork Causeway (R) - planet Gearhaven - motif: clockwork - Waves arrive on the musical beat; lancer debut (telegraphed sniper duels). -- Boss: Marshal Vectra (pressure). distance 16000, spawnRate 1.55, encounter 2-2. +- Boss: Marshal Vectra (pressure; the first boss to fly to an anchor, stepping forward to a centre post in phase 2). distance 16000, spawnRate 1.55, encounter 2-2. - enemies: fighter 30, lancer 20, diver 20, gunship 30. ### L5: Shatter Reef (R) - planet Korra Vale - motif: coral reef diff --git a/src/config/levels/definitions/warzoneCorridor.ts b/src/config/levels/definitions/warzoneCorridor.ts index 8871f1c..842f9d6 100644 --- a/src/config/levels/definitions/warzoneCorridor.ts +++ b/src/config/levels/definitions/warzoneCorridor.ts @@ -1,7 +1,23 @@ -import type { LevelConfig } from '../types'; +import type { BossShotPattern, LevelConfig } from '../types'; import { arpeggiatorPatterns, bassPatterns } from '../music'; import { createSignatureMusic } from './reimaginedMusic'; +/** The Marshal's line fan: narrow, a lane to step out of; every other one leans the way it marches. */ +const VECTRA_LINE_FAN: BossShotPattern = { + kind: 'arc', + shots: 7, + arcDegrees: 32, + speed: 0.98, + originY: 30, + lean: 6, + leanEveryOther: true, +}; +/** Two fans splayed outward, leaving a pocket right under the hull for a pilot bold enough to close in. */ +const VECTRA_CROSSFIRE: readonly BossShotPattern[] = [ + { kind: 'arc', shots: 4, arcDegrees: 16, speed: 0.95, originY: 30, angle: -26 }, + { kind: 'arc', shots: 4, arcDegrees: 16, speed: 0.95, originY: 30, angle: 26 }, +]; + export const WARZONE_CORRIDOR_LEVEL: LevelConfig = { name: 'Clockwork Causeway', planetName: 'Gearhaven', @@ -30,33 +46,34 @@ export const WARZONE_CORRIDOR_LEVEL: LevelConfig = { hasBoss: true, boss: { name: 'Marshal Vectra', - maxHp: 585, + maxHp: 505, parSeconds: 50, escalatesPastPar: true, phaseChangePauseMs: 280, + // The fight that introduces anchors: the Marshal drills on its patrol line, then keeps stepping + // forward to a post at the centre, so the pocket it opens moves closer and the march pulls it away. phases: [ { + // Drill: two line fans to step out of, then a crossfire whose pocket under the hull is the opening. startsAtHull: 1, style: 'pressure', movement: { kind: 'patrol', speed: 80, edgePadding: 60 }, attacks: [ - { - cooldownMs: 940, - volley: [ - { kind: 'arc', shots: 7, arcDegrees: 31.9, speed: 0.98, originY: 30, lean: 6, leanEveryOther: true }, - ], - }, + { cooldownMs: 950, volley: [VECTRA_LINE_FAN] }, + { cooldownMs: 950, volley: [VECTRA_LINE_FAN] }, + { cooldownMs: 1000, volley: VECTRA_CROSSFIRE }, ], }, { + // Advance: it steps forward to a post at the centre and opens the crossfire there, closer to the + // player, then patrols off it with a line fan and a turning spiral. startsAtHull: 0.5, style: 'pressure', - movement: { kind: 'patrol', speed: 195, edgePadding: 60 }, + movement: { kind: 'patrol', speed: 70, edgePadding: 60 }, attacks: [ - { - cooldownMs: 470, - volley: [{ kind: 'spiral', shots: 5, degreesPerSecond: 257.4, speed: 1.05, originY: 30 }], - }, + { cooldownMs: 1000, anchor: { x: 0.5, y: 150 }, volley: VECTRA_CROSSFIRE }, + { cooldownMs: 900, volley: [VECTRA_LINE_FAN] }, + { cooldownMs: 950, volley: [{ kind: 'spiral', shots: 6, degreesPerSecond: 257, speed: 0.9, originY: 30 }] }, ], }, ], From 5a658bf4c11c2bb056ffc359a31b70cb7ee02554 Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Fri, 13 Nov 2026 17:32:10 +0100 Subject: [PATCH 7/8] feat(bosses): give Reef Stalker three phases and the aimed burst Reef Stalker chased with one aimed fan, then one faster double fan. It is now a three-phase hunt that debuts the aimed burst: shots re-aimed one by one, so the player has to keep moving. In the middle third it breaks off the chase to fan across the screen from each edge, where the way out is under its own hull; the last third chases faster with longer bursts and a wide shatter fan. Hull 615 -> 625 keeps the measured kill under 52 s par. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 1 + docs/level-design.md | 4 +- .../levels/definitions/deepSpaceInferno.ts | 48 +++++++++++++++---- 3 files changed, 43 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 905df4c..19a916a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ All notable changes to this project will be documented in this file. - Pyre Herald (sector 3), the first boss, now alternates two slow attacks per phase instead of repeating one: twin ember fans and a fan that drifts with it, then a turning spiral and its first shots aimed at you. It stays as gentle as before, never speeds up and needs no main gun. - Marshal Vectra (sector 4) now drills two line fans and then a crossfire that leaves a safe pocket right under it, so flying in close is the opening. At half health it starts stepping forward to a post at the centre, closer to you, and adds a turning spiral. +- Reef Stalker (sector 5) now fights in three phases. It follows your lane with an aimed fan and a burst of shots that re-aim one by one, then darts to each edge of the screen and fans across it (the way out is right under it), and in its last third chases faster with longer bursts and a wide fan to read. diff --git a/docs/level-design.md b/docs/level-design.md index 409d84b..791c0e3 100644 --- a/docs/level-design.md +++ b/docs/level-design.md @@ -144,7 +144,7 @@ All six hull styles are used; a phase can switch style (the finale does). Bastio |---|---|---|---| | L3 | Pyre Herald | barrage, 2 phases at 50% (no escalation), two attacks each with slow shots and long gaps: kindling (twin ember fans, a fan that leans with its patrol), pyre (faster patrol, turning spiral, the first aimed fan) | 45 s | | L4 | Marshal Vectra | pressure, 2 phases at 50%; introduces anchors: drill (two line fans, then a crossfire with a pocket under the hull), advance (steps forward to a centre post for the crossfire, then a line fan and a spiral) | 50 s | -| L5 | Reef Stalker | pursuit, 2 phases | 52 s | +| L5 | Reef Stalker | pursuit, 3 phases at 66% and 33%; introduces the aimed burst: stalk (aimed fan, 3-shot lock-on), flank (darts to each edge and fans across the screen, safe under its hull, 4-shot lock-on), frenzy (fast chase, aimed double fan, 5-shot lock-on, wide shatter fan) | 52 s | | L6 | Bastion Bulwark | bulwark, 3 phases at 66% and 33%: rampart (shield only while charging a wall), breach (flank anchors, aimed burst, rotary), last stand (no shield, pursues, beam) | 60 s | | L7 | Choir Regent | pressure, 3 phases at 66% and 33%, each a fixed rhythm: hymn (two interleaving fans, then a fan aimed at you), antiphon (outward loft fans that leave the lane under it open, a nave fan that closes it, a cantor's aimed burst), crescendo (rotary, hymn, lofts with a short burst, over a faster patrol) | 58 s | | L8 | Umbral Ark | carrier (debut), 3 phases at 66% and 33%, each opening with a launch: hangar (fighter pair, crossing broadsides), convoy (a gunship escort, flak aimed at you, rotary), narrows (a wall whose gap moves, with a dodger pair launched into it) | 62 s | @@ -180,7 +180,7 @@ Difficulty shorthand: G = gentle, R = ramp, H = hard. ### L5: Shatter Reef (R) - planet Korra Vale - motif: coral reef - Splitter debut (kills multiply); nebula-ambush remix. Mid-campaign exam. -- Boss: Reef Stalker (pursuit). distance 17500, spawnRate 1.75, encounter 2-3. +- Boss: Reef Stalker (pursuit, three phases; debuts the aimed burst and breaks off the chase to strike from the flanks). distance 17500, spawnRate 1.75, encounter 2-3. - enemies: fighter 25, splitter 25, bomber 20, gunship 30. ### L6: Debris Gauntlet (R->H) - planet Bastion Fall - motif: wreckage ramparts diff --git a/src/config/levels/definitions/deepSpaceInferno.ts b/src/config/levels/definitions/deepSpaceInferno.ts index dc20da2..0e69e9a 100644 --- a/src/config/levels/definitions/deepSpaceInferno.ts +++ b/src/config/levels/definitions/deepSpaceInferno.ts @@ -2,6 +2,9 @@ import type { LevelConfig } from '../types'; import { arpeggiatorPatterns, bassPatterns } from '../music'; import { createSignatureMusic } from './reimaginedMusic'; +/** Keeps slipping toward the player's lane, swaying like a reef predator. */ +const STALKER_SWAY = { amplitude: 14, periodMs: 1257 }; + export const DEEP_SPACE_INFERNO_LEVEL: LevelConfig = { name: 'Shatter Reef', planetName: 'Korra Vale', @@ -30,31 +33,60 @@ export const DEEP_SPACE_INFERNO_LEVEL: LevelConfig = { hasBoss: true, boss: { name: 'Reef Stalker', - maxHp: 615, + maxHp: 625, parSeconds: 52, escalatesPastPar: true, phaseChangePauseMs: 280, + // A hunter: it follows the player's lane all fight, breaks off once to strike from the reef's edges, + // and comes back faster. phases: [ { + // Stalk: shadows the player with an aimed fan, then locks on with the first aimed burst. startsAtHull: 1, style: 'pursuit', - movement: { kind: 'pursuit', speed: 92, edgePadding: 70, bob: { amplitude: 14, periodMs: 1257 } }, + movement: { kind: 'pursuit', speed: 92, edgePadding: 70, bob: STALKER_SWAY }, + attacks: [ + { cooldownMs: 1050, volley: [{ kind: 'aimedArc', shots: 5, arcDegrees: 28, speed: 1, originY: 28 }] }, + { cooldownMs: 1150, volley: [{ kind: 'aimedBurst', shots: 3, intervalMs: 200, speed: 1, originY: 28 }] }, + ], + }, + { + // Flank: darts to each edge and fans across the screen; the way out is under its own hull. + startsAtHull: 0.66, + style: 'pursuit', + movement: { kind: 'pursuit', speed: 120, edgePadding: 70, bob: STALKER_SWAY }, attacks: [ - { cooldownMs: 1040, volley: [{ kind: 'aimedArc', shots: 5, arcDegrees: 28.6, speed: 1, originY: 28 }] }, + { + cooldownMs: 1000, + anchor: { x: 0.2, y: 130 }, + volley: [{ kind: 'arc', shots: 6, arcDegrees: 30, speed: 0.95, originY: 28, angle: -38 }], + }, + { + cooldownMs: 1000, + anchor: { x: 0.8, y: 130 }, + volley: [{ kind: 'arc', shots: 6, arcDegrees: 30, speed: 0.95, originY: 28, angle: 38 }], + }, + { cooldownMs: 900, volley: [{ kind: 'aimedBurst', shots: 4, intervalMs: 160, speed: 1, originY: 28 }] }, ], }, { - startsAtHull: 0.5, + // Frenzy: a fast chase with a leaning double fan, a long lock-on, then a shatter burst to read. + startsAtHull: 0.33, style: 'pursuit', - movement: { kind: 'pursuit', speed: 241.5, edgePadding: 70, bob: { amplitude: 14, periodMs: 1257 } }, + movement: { kind: 'pursuit', speed: 200, edgePadding: 70, bob: STALKER_SWAY }, attacks: [ { - cooldownMs: 530, + cooldownMs: 750, volley: [ - { kind: 'aimedArc', shots: 6, arcDegrees: 21.8, speed: 1.08, originY: 28 }, - { kind: 'arc', shots: 4, arcDegrees: 18, speed: 1.06, originY: 28, lean: 10 }, + { kind: 'aimedArc', shots: 6, arcDegrees: 22, speed: 1.05, originY: 28 }, + { kind: 'arc', shots: 4, arcDegrees: 18, speed: 1.05, originY: 28, lean: 10 }, ], }, + { cooldownMs: 850, volley: [{ kind: 'aimedBurst', shots: 5, intervalMs: 130, speed: 1.1, originY: 28 }] }, + { + cooldownMs: 1000, + volley: [{ kind: 'arc', shots: 8, arcDegrees: 105, speed: 0.85, originY: 28 }], + }, ], }, ], From 4967fde66cfa17a756ad724d0a0eadb0c02de7aa Mon Sep 17 00:00:00 2001 From: Douwe de Vries Date: Fri, 13 Nov 2026 17:39:27 +0100 Subject: [PATCH 8/8] docs(bosses): every boss is authored for the rotation engine Co-Authored-By: Claude Fable 5.2 --- CHANGELOG.md | 18 ++++++------------ docs/level-design.md | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19a916a..08093db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. ## [Unreleased] + ### Added - Change your ship systems while you play. Once a run has a main gun, press Q (or tap the new swap button under pause on touch screens) to switch Lance, Scatter and Seekers in turn. The new gun's name flashes over your ship. Swapping has a cost: the new gun takes half a second to start firing, and you can swap again only after 2 seconds (the button dims and charges up meanwhile). Pausing does not shorten either wait. @@ -13,13 +14,8 @@ All notable changes to this project will be documented in this file. - The game saves your run when you leave the refit bay for the next sector, so closing the tab no longer loses the ship system you just picked. The save appears in the main menu as AUTOSAVE, next to your three slots, and loads and deletes like them. It never overwrites a slot of yours, and it goes away when the run ends or you start a new one. - Save slots in the main menu and the pause panel name the ship systems the saved run has picked. - Fast-kill bonus: beat a boss under its par time and you score 200 points for every second left on the clock, shown as FAST KILL next to the kill. Pausing never costs you any of it. - - - - The refit bay lists your ship systems next to the upgrades once you have one. Select one to see its three options again, with the current one marked, and pick another: changing here is free, as often as you like, with no wait. Escape, or picking the current one again, keeps it. The next sector flies with your choice, and the autosave and your checkpoints store it. - - ### Changed - The pause panel's `SYSTEMS:` line is replaced by the SYSTEMS tab. @@ -27,19 +23,17 @@ All notable changes to this project will be documented in this file. - Boss health no longer grows when you buy weapons, fire rate, hull or shields. Upgrades now make boss fights shorter, as they should. Every boss has a fixed health tuned so a typical ship for that sector beats it in about 45 to 70 seconds. - A boss that is still alive after its par time slowly fires faster, up to a quarter faster. The wind-up before each volley never gets shorter. The first boss (sector 3) keeps its pace, and sectors 1 and 2 are unchanged. - Bastion Bulwark (sector 6) is rebuilt in three phases. Its shield now only closes while it charges a wall of shots with one gap in it, so you spend that time dodging, not waiting. At two thirds it starts flying from flank to flank, and at one third its shield breaks and it chases you and drops a beam on your lane. -### Fixed - -- The keyboard focus ring on the ship-system choices was cut off, leaving only a stray line under the first choice. The focused choice now lights up fully, and on very short screens the list scrolls to keep it in view instead of cutting off the last choice. +- Pyre Herald (sector 3), the first boss, now alternates two slow attacks per phase instead of repeating one: twin ember fans and a fan that drifts with it, then a turning spiral and its first shots aimed at you. It stays as gentle as before, never speeds up and needs no main gun. +- Marshal Vectra (sector 4) now drills two line fans and then a crossfire that leaves a safe pocket right under it, so flying in close is the opening. At half health it starts stepping forward to a post at the centre, closer to you, and adds a turning spiral. +- Reef Stalker (sector 5) now fights in three phases. It follows your lane with an aimed fan and a burst of shots that re-aim one by one, then darts to each edge of the screen and fans across it (the way out is right under it), and in its last third chases faster with longer bursts and a wide fan to read. - Choir Regent (sector 7) now fights in three phases, each with its own rhythm. First it fires two fans that interleave and then one aimed at you. At two thirds its fans turn outward and leave the lane under it open, then a fan closes that lane, then a quick burst follows you. At one third it adds a spinning volley and speeds up. - Umbral Ark (sector 8) now fights in three phases, and each one opens by launching escorts in front of it. First a pair of fighters, then a gunship, and in the last third a pair of dodgers launched with a wall of shots whose gap moves each time. Lance shots pierce the escorts on their way to the hull; Seekers tend to chase the escorts instead of the Ark. - Hive Maelstrom (sector 9) is rebuilt in three phases. It starts with one ring of shots that turns between volleys, then spins two rings against each other while it sweeps the screen, and at one third it chases you and fires its fastest rings. Every other round it launches swarms (later splitters) in front of its hull, which Lance cuts through and which pull Seekers off the boss. - Omega Null (sector 10), the final boss, now has four phases that bring back what earlier bosses taught: leaning fans and aimed bursts, a shielded wall with a gunship guard, counter-rotating rings and a beam, and at the end all of them in turn while it chases you. It switches hulls at half health as before, and has less health, so the fight is about reading attacks rather than wearing it down. -- Pyre Herald (sector 3), the first boss, now alternates two slow attacks per phase instead of repeating one: twin ember fans and a fan that drifts with it, then a turning spiral and its first shots aimed at you. It stays as gentle as before, never speeds up and needs no main gun. -- Marshal Vectra (sector 4) now drills two line fans and then a crossfire that leaves a safe pocket right under it, so flying in close is the opening. At half health it starts stepping forward to a post at the centre, closer to you, and adds a turning spiral. -- Reef Stalker (sector 5) now fights in three phases. It follows your lane with an aimed fan and a burst of shots that re-aim one by one, then darts to each edge of the screen and fans across it (the way out is right under it), and in its last third chases faster with longer bursts and a wide fan to read. - +### Fixed +- The keyboard focus ring on the ship-system choices was cut off, leaving only a stray line under the first choice. The focused choice now lights up fully, and on very short screens the list scrolls to keep it in view instead of cutting off the last choice. ## [1.33.0] - 2026-11-12 diff --git a/docs/level-design.md b/docs/level-design.md index 791c0e3..268805a 100644 --- a/docs/level-design.md +++ b/docs/level-design.md @@ -138,7 +138,7 @@ exclusive to L5, L9, and L10. ### 2.9 Boss attack-style plan -All six hull styles are used; a phase can switch style (the finale does). Bastion Bulwark is the first boss authored for the rotation engine; the others still fire one attack per phase and are due their own rotations. +All six hull styles are used; a phase can switch style (the finale does). Every boss is authored for the rotation engine, each in its own level file; the early bosses teach one idea each (fans, anchors, the aimed burst) and the finale reprises them. | Level | Boss | Phases | Par | |---|---|---|---|