From 435358ef1ed7b4f1e88def63f1a1cb16f0b7fc60 Mon Sep 17 00:00:00 2001 From: Sergio Date: Tue, 18 Nov 2025 09:22:07 +0100 Subject: [PATCH] arreglos estetics en credits --- source/game/scenes/credits.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/game/scenes/credits.cpp b/source/game/scenes/credits.cpp index bdd62ec..8c2d6a0 100644 --- a/source/game/scenes/credits.cpp +++ b/source/game/scenes/credits.cpp @@ -69,10 +69,10 @@ void Credits::iniTexts() { texts_.push_back({"", static_cast(PaletteColor::WHITE)}); texts_.push_back({keys + " TO MOVE AND JUMP", static_cast(PaletteColor::WHITE)}); texts_.push_back({"F8 TOGGLE THE MUSIC", static_cast(PaletteColor::WHITE)}); - texts_.push_back({"F11 TO PAUSE THE GAME", static_cast(PaletteColor::WHITE)}); - texts_.push_back({"F1-F2 TO CHANGE WINDOWS SIZE", static_cast(PaletteColor::WHITE)}); + texts_.push_back({"F11 PAUSE THE GAME", static_cast(PaletteColor::WHITE)}); + texts_.push_back({"F1-F2 WINDOWS SIZE", static_cast(PaletteColor::WHITE)}); texts_.push_back({"F3 TOGGLE FULLSCREEN", static_cast(PaletteColor::WHITE)}); - texts_.push_back({"F9 TOOGLE THE BORDER SCREEN", static_cast(PaletteColor::WHITE)}); + texts_.push_back({"F9 TOOGLE BORDER SCREEN", static_cast(PaletteColor::WHITE)}); texts_.push_back({"", static_cast(PaletteColor::WHITE)}); texts_.push_back({"", static_cast(PaletteColor::WHITE)}); @@ -246,7 +246,9 @@ void Credits::render() { cover_surface_->render(0, static_cast(OFFSET * 2.0F), &src_rect); // Dibuja el sprite con el brillo - shining_sprite_->render(1, static_cast(PaletteColor::BRIGHT_WHITE)); + if (reveal_time_ > SHINE_START_TIME) { + shining_sprite_->render(1, static_cast(PaletteColor::BRIGHT_WHITE)); + } } // Vuelca el contenido del renderizador en pantalla