Commit Graph

3 Commits

Author SHA1 Message Date
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 9ac607d2e7 Remove unused review sub‑agent and clarify ES6 import/export usage; differentiate bullet speeds for player and alien; add `Player.die()` to hide the ship and set immediate invincibility; delay player respawn after a hit; introduce dynamic background‑color changes per level. 2026-02-20 21:51:06 -07:00
Brian Fertig 054166e5b0 initial commit 2026-02-20 21:34:27 -07:00