Handle player ship destruction... some of it...
Some checks failed
Basic checks / Basic build-and-test supertask (push) Has been cancelled

The player will be respawned, their lives decreased, and the board
cleared. The UI doesn't update, and the sudden snap to a freshly reset
board is quite jarring. The state transition to GameOver stops the game,
but there isn't anything else running in that state so it just looks
frozen.

Basically, there's a ton left to do, but technically I have handled
player ship destruction!
This commit is contained in:
2025-08-10 21:29:25 -05:00
parent 45b1fe751f
commit 804186ea2f
2 changed files with 39 additions and 2 deletions

View File

@@ -57,6 +57,7 @@ impl Plugin for AsteroidPlugin {
asteroids::spawn_asteroid.after(asteroids::tick_asteroid_manager),
asteroids::split_asteroids,
ship::bullet_impact_listener,
ship::ship_impact_listener,
collision_listener,
// TODO: Remove debug printing
debug_collision_event_printer,