Arreglos estetics i de colorets en hiscore_table.cpp
This commit is contained in:
@@ -283,6 +283,13 @@ void Game::updateStage()
|
||||
createMessage(paths, text->writeToTexture(caption, 1, -4));
|
||||
}
|
||||
}
|
||||
|
||||
// Modifica el color de fondo al llegar a la Fase 10
|
||||
if (Stage::number == 9)
|
||||
{
|
||||
background_->setColor(Color(0xdd, 0x19, 0x1d).darken());
|
||||
background_->setAlpha(96);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -365,6 +372,7 @@ void Game::updateGameStateCompleted()
|
||||
balloon_manager_->destroyAllBalloons(); // Destruye a todos los globos
|
||||
destroyAllItems(); // Destruye todos los items
|
||||
Stage::power = 0; // Vuelve a dejar el poder a cero, por lo que hubiera podido subir al destruir todos los globos
|
||||
background_->setAlpha(0); // Elimina el tono rojo de las últimas pantallas
|
||||
}
|
||||
|
||||
// Comienza las celebraciones
|
||||
@@ -1261,7 +1269,8 @@ void Game::checkEvents()
|
||||
{
|
||||
auto_pop_balloons_ = !auto_pop_balloons_;
|
||||
Notifier::get()->showText({"auto advance: " + boolToString(auto_pop_balloons_)});
|
||||
balloon_manager_->destroyAllBalloons();
|
||||
if (auto_pop_balloons_)
|
||||
balloon_manager_->destroyAllBalloons();
|
||||
balloon_manager_->setDeployBalloons(!auto_pop_balloons_);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user