Commit Graph

1 Commits

Author SHA1 Message Date
Brian Fertig 19e743c6f9 feat(combat): implement "Swipe" skill with sequential multi-target animation
- **Combat Logic**: Refactored `swipe` to trigger on `preAttack`, dealing damage to all enemy cards and the commander while ignoring armor. Updated `data/skills.json` and card definitions in `data/cards.json` accordingly.
- **Animation**: Added `_animateSwipeSequence` in `BattleScene.js`. The animation spawns a rotating sprite (index 20) that flies sequentially to each target, playing impact sounds (`sfx_swipe_02`) and triggering HP loss/death animations per target.
- **Assets**: Added new audio files (`swipe_01.mp3`, `swipe_02.mp3`) and UI images for factions (`bloodthirsty`, `imperial`, `raider`). Updated the attack spritesheet.
- **Collection Scene**: Overhauled `CollectionScene.js` with a modern UI featuring:
  - Filterable, scrollable card grid with hover tilt effects.
  - Interactive card selection showing a large showcase view.
  - CRT-style terminal that types out detailed card stats and skill descriptions character-by-character.
2026-03-14 17:05:46 -06:00