Screen:: shake() ara accepta parametres
Coffee_machine: ara queda millor el efecte de caure i rebotar
This commit is contained in:
1 parent
5321a9e3b5
commit
9873972cf2
2 files changed
+37
-24
No files matched your search
@@ -102,7 +102,7 @@ Game::~Game()
|
||||
// [Modo DEMO] Vuelve a activar los sonidos
|
||||
if (demo_.enabled)
|
||||
{
|
||||
//Audio::get()->enableSound();
|
||||
// Audio::get()->enableSound();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -673,7 +673,7 @@ void Game::updateItems()
|
||||
if (item->isOnFloor())
|
||||
{
|
||||
Audio::get()->playSound("title.wav");
|
||||
screen_->shake();
|
||||
screen_->shake(1, 2, 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1652,7 +1652,7 @@ void Game::initDemo(int player_id)
|
||||
}
|
||||
|
||||
// Deshabilita los sonidos
|
||||
//Audio::get()->disableSound();
|
||||
// Audio::get()->disableSound();
|
||||
|
||||
// Configura los marcadores
|
||||
scoreboard_->setMode(SCOREBOARD_LEFT_PANEL, ScoreboardMode::DEMO);
|
||||
|
||||
Reference in new issue
Block a user