Commit Graph

4 Commits

Author SHA1 Message Date
Brian Fertig f194886ed9 Add alien variants, homing missiles, asteroid speed scaling, CRT pipeline, and custom reticle
- New alien types (basic, spread, missile) with distinct speed, fire‑rate, explosion colors and textures.
- Implement spread‑shot pattern and homing‑missile behavior with steering logic.
- Asteroid constructor now accepts a speed multiplier; level speed increases each level.
- Extend Bullet to support homing missiles (new texture, lifetime, turn rate, steering).
- Introduce CRTPipeline post‑FX (barrel distortion, scanlines, vignette) and register it in the game config.
- Apply CRT pipeline to GameScene and MenuScene.
- Add custom reticle cursor graphics (rotating outer/inner layers).
- Update BootScene to generate textures for new alien types and reticle.
2026-02-21 10:24:03 -07:00
Brian Fertig dc7f18c17c Add death/explosion visual effects and impact sparks
- Implement `AlienShip.explode()` with cyan flash, shrinking spin animation and a shockwave ring.
- Enhance `Player.die()` to flash white, hide the sprite, and spawn shattering shard graphics.
- Introduce `GameScene.spawnImpactSparks()` to create brief yellow spark particles on bullet impacts.
- Update bullet‑asteroid and bullet‑alien collision handling to trigger impact sparks and use the new alien explosion.
- Minor refactor to use the new visual effects for a more polished death sequence.
2026-02-21 09:07:56 -07:00
Brian Fertig 33d340ef10 Add alien‑ship warp‑out effect and bullet ownership handling
- Added `warpOut()` to `AlienShip` with spin‑shrink animation and black‑hole ring visual.
- Modified `spawnAlienBullet` to pass the firing ship to `Bullet`.
- Extended `Bullet` constructor with `ownerEntity` to store the originating `AlienShip`.
- Updated collision callbacks in `GameScene` to trigger `warpOut()` on the owning ship when its bullet hits the player or when the player collides with an alien, and to remove the ship from the alien list.
- Fixed overlap order for alien bullets vs. player.

These changes give alien ships a dramatic disappearance animation and ensure proper cleanup after collisions.
2026-02-20 22:16:39 -07:00
Brian Fertig 054166e5b0 initial commit 2026-02-20 21:34:27 -07:00