diff --git a/source/game/systems/init_hud_animator.cpp b/source/game/systems/init_hud_animator.cpp index 6c538e3..4869c07 100644 --- a/source/game/systems/init_hud_animator.cpp +++ b/source/game/systems/init_hud_animator.cpp @@ -230,8 +230,8 @@ namespace Systems::InitHud { drawSlots(renderer, shape, lives, bright, dim, x, center_y, scale, spacing); } - // Pinta el nivell centrat: etiqueta "NIVELL" en verd atenuat i el número - // en verd brillant. + // Pinta el nivell centrat: etiqueta "NIVELL" encesa i el número com els + // punts (zeros de farciment atenuats, dígit significatiu en endavant encès). void drawLevel(const Graphics::VectorText& text, const std::string& label, const std::string& value, @@ -242,9 +242,9 @@ namespace Systems::InitHud { const float W_VALUE = Graphics::VectorText::getTextWidth(value, scale, spacing); const float CX = Defaults::Game::WIDTH / 2.0F; float x = CX - ((W_LABEL + W_VALUE) / 2.0F); - text.render(label, {.x = x, .y = top_y}, scale, spacing, 1.0F, Defaults::Hud::Colors::LEVEL_DIM); + text.render(label, {.x = x, .y = top_y}, scale, spacing, 1.0F, Defaults::Hud::Colors::LEVEL_BRIGHT); x += W_LABEL; - text.render(value, {.x = x, .y = top_y}, scale, spacing, 1.0F, Defaults::Hud::Colors::LEVEL_BRIGHT); + drawScore(text, value, Defaults::Hud::Colors::LEVEL_BRIGHT, Defaults::Hud::Colors::LEVEL_DIM, true, x, top_y, scale, spacing); } } // namespace