fertig-classic-games/assets
Brian Fertig 08d23f9613 refactor: replace stage clear targets with clear line boundary mechanic
Restructure Tetris Attack Stage Clear from "clear all target panels" to a
multi-stage round system with a sliding boundary line.

Gameplay changes:
- Each character now has 5 stages instead of a single match
- A CLEAR line appears after a set number of rows rise, then rides the
  stack upward; the objective is to clear everything above it
- Clearing a stage advances to the next: same board, faster speed, fresh line
- Stage progress is saved to localStorage; characters unlock sequentially
- Added a stage select screen with progress squares per character

Logic changes:
- Replaced `targetsTotal` with `clearLine` tracking and `countAboveLine`
- Added `advanceStage()` to resume play on the same stack one speed level higher
- Win condition now checks `countAboveLine() === 0` instead of target count
- Removed `target` flag from panels; panels below the line are irrelevant
- Continuous speed ramp via fractional `speed` per stage

UI changes:
- Clear line drawn as a pulsing bar with "◀ CLEAR" label outside the board
- "CLEAR LINE!" announcement on appearance, "STAGE N CLEAR!" banner on win
- HUD shows stage number instead of panel count
- Game over offers "Retry Stage", "Stage Select", or "Menu"

Asset changes:
- Backgrounds renamed to `background-{hero}-r{stage}.png` (5 per character)
- Lazy-load backgrounds per round instead of preloading all 30 images
- Updated tetrisattack.json with `stagesPerRound`, `stageSpeedStep`, and
  per-character `clearLineRows`

Tests:
- Rewrote stage clear soak tests for the new mechanic
- Added stage round progression, speed ramp, and board preservation tests
2026-07-21 10:00:09 -06:00
..
fonts feat(balatro): introduce m6x11 pixel font as primary font face 2026-07-10 16:30:29 -06:00
fx feat(advance-wars): add contextual battle and movement sound effects 2026-07-19 17:44:18 -06:00
gamedata feat: add Advance Wars turn-based tactics game 2026-07-19 09:43:58 -06:00
images refactor: replace stage clear targets with clear line boundary mechanic 2026-07-21 10:00:09 -06:00
info feat(swdbg): overhaul card data from physical set transcription 2026-07-08 22:07:48 -06:00
music feat: add Advance Wars turn-based tactics game 2026-07-19 09:43:58 -06:00
speech feat: add Jumble word puzzle game with 58 curated levels 2026-06-30 19:42:57 -06:00
tutorial-videos feat: add Azul board game with tutorial videos and modal fix 2026-06-29 20:49:48 -06:00
videos feat(peggle): overhaul 7 powers with enhanced mechanics, visuals, and audio 2026-07-12 15:29:55 -06:00