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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user