Handle player ship destruction... some of it...
Some checks failed
Basic checks / Basic build-and-test supertask (push) Has been cancelled
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user