tweak(stage-messages): missatges level start/completed amb color ambre del PRESS START
This commit is contained in:
@@ -879,9 +879,10 @@ void GameScene::drawStageMessage(const std::string& message) {
|
||||
float x = play_area.x + ((play_area.w - full_text_width) / 2.0F);
|
||||
float y = play_area.y + (play_area.h * Defaults::Game::STAGE_MESSAGE_Y_RATIO) - (text_height / 2.0F);
|
||||
|
||||
// Render only the partial message (typewriter effect)
|
||||
// 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);
|
||||
text_.render(partial_message, pos, scale, SPACING, 1.0F, Defaults::Title::Colors::PRESS_START);
|
||||
}
|
||||
|
||||
// ========================================
|
||||
|
||||
Reference in New Issue
Block a user