refactor(defaults): centralitza init hud, tips, hit timer, line thickness i debug overlay

This commit is contained in:
2026-05-21 09:45:55 +02:00
parent 08100f60e8
commit 7139dea7f6
8 changed files with 111 additions and 75 deletions
+3
View File
@@ -26,6 +26,9 @@ namespace Defaults::Physics {
constexpr float FACTOR_HERENCIA_MAX = 1.0F; // Màxim 100% del drotacio heredat
constexpr float FRICCIO_ANGULAR = 0.5F; // Desacceleració angular (rad/s²)
// Velocity heredada de la nau a l'explosió (80% del feel original).
constexpr float SHIP_VELOCITY_INHERITANCE = 0.8F;
// Angular velocity sin for trajectory inheritance
// Excess above this threshold is converted to tangential linear velocity
// Prevents "vortex trap" problem with high-rotation enemies