feat(firework): halo neon per partícula amb color de glow propi (explosió enemic: línia blanca + halo daurat)

This commit is contained in:
2026-05-22 21:57:11 +02:00
parent 7b9b5ce569
commit c32b564da1
7 changed files with 96 additions and 12 deletions
+8 -2
View File
@@ -79,8 +79,14 @@ namespace Systems::Collision {
Defaults::Physics::Debris::ENEMY_SEGMENT_MULTIPLIER);
// Firework burst radial des del centro de l'enemic (efecte adicional al debris).
// No heretem color: el burst usa el blanc per defecte per a un feel més lluminós.
ctx.firework_manager.spawn(ENEMY_POS);
// Línia blanca + halo daurat (WOUNDED) per a feel d'espurnes.
ctx.firework_manager.spawn(ENEMY_POS,
Defaults::FX::Firework::DEFAULT_COLOR,
Defaults::FX::Firework::SPEED,
Defaults::FX::Firework::N_POINTS,
Defaults::FX::Firework::INITIAL_BRIGHTNESS,
/*glow=*/true,
Defaults::Palette::WOUNDED);
}
// Trenca una bala en debris (8 fragments de l'octàgon) + so HIT + desactiva.