feat(m6): store hardening with r8, release pipeline, symbols and store assets

This commit is contained in:
2026-10-24 23:51:37 +02:00
parent 33bdc16fbd
commit 6970daf060
25 changed files with 228 additions and 29 deletions
+4 -1
View File
@@ -12,6 +12,9 @@ const double kWorldWidth = 2048;
const double kWorldHeight = 1152;
const int kSamplePx = 2;
/// Must match `sim::state::MAX_HP`.
const int kTankMaxHp = 150;
/// Immutable HUD snapshot, only replaced when something actually changed.
@immutable
class HudState {
@@ -380,7 +383,7 @@ class IronArcGame extends FlameGame {
);
// Health bar.
final hp = _match.tankHp(player).clamp(0, 100) / 100.0;
final hp = _match.tankHp(player).clamp(0, kTankMaxHp) / kTankMaxHp;
final barRect = RRect.fromRectAndRadius(
Rect.fromLTWH(x - 30, y - 46, 60, 8),
const Radius.circular(4),