From 56c3f978d33f42b85a795d43697e49230ce6ac72 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Sat, 30 May 2026 08:41:23 +0200 Subject: [PATCH] =?UTF-8?q?tweak(joc):=20les=20frases=20de=20fase=20tornen?= =?UTF-8?q?=20a=20l'ambre,=20desacoblades=20del=20PULSA=20START=20blanc=20?= =?UTF-8?q?del=20t=C3=ADtol?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/game/scenes/game_scene.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/game/scenes/game_scene.cpp b/source/game/scenes/game_scene.cpp index b07061f..058b1b1 100644 --- a/source/game/scenes/game_scene.cpp +++ b/source/game/scenes/game_scene.cpp @@ -43,6 +43,11 @@ namespace { InputAction::THRUST, InputAction::SHOOT, InputAction::START}; + + // Color de les frases d'inici/fi de fase (àmbar neon). És propi del joc i + // independent del "PULSA START" del títol (ara blanc): abans compartien la + // mateixa constant i en posar el títol en blanc aquestes frases també ho feien. + constexpr SDL_Color STAGE_MESSAGE_COLOR = {.r = 255, .g = 200, .b = 70, .a = 255}; } // namespace GameScene::GameScene(SDLManager& sdl, SceneContext& context) @@ -1031,7 +1036,7 @@ void GameScene::drawStageMessage(const std::string& message) { // Render only the partial message (typewriter effect) amb el color // ambre neon del "PRESS START" del títol — unifica el feel dels missatges. Vec2 pos = {.x = x, .y = y}; - text_.render(partial_message, pos, scale, SPACING, 1.0F, Defaults::Title::Colors::PRESS_START); + text_.render(partial_message, pos, scale, SPACING, 1.0F, STAGE_MESSAGE_COLOR); } // ========================================