Add a sparkler component to flash entities

I'll be using this to make a sparkling effect on the debris field left
behind from a destroyed ship.

It can also be used to do the temporary invincibility effect when
(re)spawning the player.
This commit is contained in:
2025-08-14 21:57:47 -05:00
parent 4b70be7048
commit 960861af79
2 changed files with 33 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ impl Plugin for AsteroidPlugin {
input_ship_shoot,
physics::wrap_entities,
machinery::tick_asteroid_manager,
machinery::operate_sparklers,
objects::spawn_asteroid.after(machinery::tick_asteroid_manager),
objects::split_asteroids,
objects::bullet_impact_listener,