More sounds
This commit is contained in:
@@ -215,6 +215,7 @@ namespace Marro.PacManUdon
|
||||
public void GotFruit()
|
||||
{
|
||||
AddScore(bonusFruit.Collected());
|
||||
soundManager.PlayFruitSound();
|
||||
}
|
||||
|
||||
public void GhostCaught(int scoreBonus)
|
||||
@@ -1156,6 +1157,7 @@ namespace Marro.PacManUdon
|
||||
case 0:
|
||||
SetGameState(PacManGameState.WaitForStart);
|
||||
HideEverything();
|
||||
soundManager.PlayCoinSound();
|
||||
break;
|
||||
case 1:
|
||||
SetPressStartButtonScreenVisible(true);
|
||||
@@ -1252,6 +1254,7 @@ namespace Marro.PacManUdon
|
||||
case 0:
|
||||
// Freeze
|
||||
SetFrozen(true);
|
||||
soundManager.StopAllSound();
|
||||
break;
|
||||
case 1:
|
||||
// Start board blinking, hide pellets in case of rack test
|
||||
@@ -1327,6 +1330,7 @@ namespace Marro.PacManUdon
|
||||
// Freeze and hide pacman, but let ghosts already in the caught animation continue
|
||||
SetFrozen(true, ghostIgnoreIfCaught: true);
|
||||
SetPacManActive(false);
|
||||
soundManager.PlayGhostEatSound();
|
||||
break;
|
||||
case 1:
|
||||
// Unfreeze and reveal pacman
|
||||
@@ -1344,6 +1348,7 @@ namespace Marro.PacManUdon
|
||||
case 0:
|
||||
// Freeze (except for the ghost animations)
|
||||
SetFrozen(true, ghostKeepAnimating: true);
|
||||
soundManager.StopAllSound();
|
||||
break;
|
||||
case 1:
|
||||
// Hide ghosts, start pacman death animation
|
||||
@@ -1409,6 +1414,7 @@ namespace Marro.PacManUdon
|
||||
case 5:
|
||||
// Unfreeze
|
||||
SetFrozen(false);
|
||||
soundManager.StartGhostSound();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user