tune(trail): vida més llarga, offset darrere i paleta vermella per al P2
This commit is contained in:
1 parent
74d855357d
commit
51308fa25e
3 files changed
+37
-17
No files matched your search
@@ -11,10 +11,10 @@ namespace Defaults::Trail {
|
||||
constexpr float EMIT_INTERVAL_S = 0.04F; // ~25 Hz nominal
|
||||
constexpr float EMIT_JITTER_S = 0.015F; // ±15 ms al cooldown
|
||||
constexpr float POSITION_JITTER_PX = 2.5F; // jitter al punt de naixement
|
||||
constexpr float REAR_OFFSET_PX = 10.0F; // distància darrere center_ (cua)
|
||||
constexpr float REAR_OFFSET_PX = 12.0F; // distància darrere center_ (cua)
|
||||
|
||||
constexpr float LIFETIME_BASE_S = 0.65F;
|
||||
constexpr float LIFETIME_JITTER_S = 0.15F;
|
||||
constexpr float LIFETIME_BASE_S = 1.3F;
|
||||
constexpr float LIFETIME_JITTER_S = 0.3F;
|
||||
|
||||
constexpr float SCALE_MIN = 0.7F; // × estrella starfield (3 px punta)
|
||||
constexpr float SCALE_MAX = 1.2F;
|
||||
@@ -25,11 +25,20 @@ namespace Defaults::Trail {
|
||||
constexpr float PULSE_FREQ_HZ = 2.5F;
|
||||
|
||||
// Colors del pulse (interpolats sinusoïdalment per partícula)
|
||||
// P1: groc viu ↔ daurat clàssic
|
||||
constexpr unsigned char COLOR_A_R = 255;
|
||||
constexpr unsigned char COLOR_A_G = 255;
|
||||
constexpr unsigned char COLOR_A_B = 0; // #FFFF00 — groc viu
|
||||
constexpr unsigned char COLOR_A_B = 0; // #FFFF00
|
||||
constexpr unsigned char COLOR_B_R = 218;
|
||||
constexpr unsigned char COLOR_B_G = 165;
|
||||
constexpr unsigned char COLOR_B_B = 32; // #DAA520 — daurat clàssic
|
||||
constexpr unsigned char COLOR_B_B = 32; // #DAA520
|
||||
|
||||
// P2: roig viu ↔ rosa
|
||||
constexpr unsigned char COLOR_P2_A_R = 255;
|
||||
constexpr unsigned char COLOR_P2_A_G = 31;
|
||||
constexpr unsigned char COLOR_P2_A_B = 31; // #FF1F1F
|
||||
constexpr unsigned char COLOR_P2_B_R = 255;
|
||||
constexpr unsigned char COLOR_P2_B_G = 105;
|
||||
constexpr unsigned char COLOR_P2_B_B = 180; // #FF69B4
|
||||
|
||||
} // namespace Defaults::Trail
|
||||
Reference in new issue
Block a user