FIX: Si saltes el logo talla el so a meitat sonar

FIX: Corregida la lògica del efecte de flash
This commit is contained in:
2024-11-27 18:39:23 +01:00
parent eed45bdbc6
commit faba87c06d
6 changed files with 24 additions and 14 deletions

View File

@@ -253,7 +253,7 @@ void Game::updateStage()
++Stage::number;
JA_PlaySound(Resource::get()->getSound("stage_change.wav"));
balloon_manager_->resetBalloonSpeed();
screen_->flash(flash_color, 100);
screen_->flash(flash_color, 3);
screen_->shake();
// Escribe el texto por pantalla
@@ -1169,7 +1169,7 @@ void Game::checkEvents()
}
case SDLK_7: // Flash
{
screen_->flash(flash_color, 100);
screen_->flash(flash_color, 3);
break;
}
case SDLK_8: