tweak(nau): la nau ferida parpelleja en roig pur en lloc de daurat

This commit is contained in:
2026-05-29 19:12:53 +02:00
parent f4567a2e82
commit ab5489a080
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ visual_thrust:
colors:
normal: [255, 255, 255] # blanc neutre
hurt: [255, 220, 60] # daurat (estat ferit)
hurt: [255, 0, 0] # roig pur (estat ferit)
weapon:
bullet_speed: 700.0 # velocitat escalar de la bullet (px/s)
+1 -1
View File
@@ -162,7 +162,7 @@ void Ship::draw() const {
const float THRUST_MODULATOR = 1.0F + (VISUAL_PUSH / config_.visual_thrust.scale_divisor);
const float SCALE = config_.shape.scale * THRUST_MODULATOR;
// Parpelleig daurat mentre està ferida: alterna color normal ↔ color hurt.
// Parpelleig mentre està ferida: alterna color normal ↔ color hurt.
SDL_Color color = config_.colors.normal;
if (hurt_timer_ > 0.0F) {
const float CYCLE = 1.0F / config_.hurt.blink_hz;