Commit Graph

7 Commits

Author SHA1 Message Date
Brian Fertig 145341d992 Add bonus system with medpacks, shotgun, and rocket launcher power-ups 2026-03-08 18:57:55 -06:00
Brian Fertig 04ecdcccc3 Add animated logo to IntroScene with fullscreen activation on start 2026-03-08 15:39:13 -06:00
Brian Fertig c66b05e5e0 Add menu background video and music to IntroScene with audio management 2026-03-08 13:27:19 -06:00
Brian Fertig 4bcbfbd9c9 Add audio assets and integrate sound effects with enhanced visual feedback 2026-03-08 11:19:16 -06:00
Brian Fertig 303956ae4d Add Zones 3-6 with new enemy types (SprayerEnemy, BomberEnemy) and enhanced barrier interaction 2026-03-07 17:55:19 -07:00
Brian Fertig ea501968e3 feat: implement Smash TV-style zone exit mechanic
Adds a new "zone exit" phase that triggers after all waves in a zone are cleared:
- Listens for `zone-waves-complete` event to start the exit sequence.
- Displays blinking arrows on all screen edges and a "ZONE CLEARED" prompt.
- Disables world bounds to allow the player to walk off-screen.
- Detects when the player crosses an edge and triggers a transition:
  - Shows a white flash animation.
  - Respawns the player on the opposite edge, maintaining their lateral position.
  - Re-enables world bounds and starts the next zone via `WaveManager.startNextZone()`.

Refactors `WaveManager` to defer zone advancement until the player exits, ensuring a smoother flow between zones.
2026-03-07 15:14:15 -07:00
Brian Fertig ea0a95c4e5 Refactor Player entity to use sprite-based rendering with animations
- Replaced simple circle/rectangle graphics with a spritesheet-based player sprite.
- Added animation definitions for idle, walk, idle-gun, and walk-gun states.
- Implemented state tracking (`_isMoving`, `_isShooting`) to drive animation switching.
- Adjusted barrel position calculation to use `GUN_TIP_DIST` for bullet spawning.
- Updated invincibility tween and cleanup logic to target the new sprite object.
- Added sprite loading in GameScene preload phase.
2026-03-07 12:54:37 -07:00