- 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. |
||
|---|---|---|
| .. | ||
| entities | ||
| scenes | ||
| main.js | ||