PrepareForCutscene

This commit is contained in:
2025-12-26 18:27:04 +01:00
parent a15f977107
commit 129ef16714
10 changed files with 25 additions and 24 deletions

View File

@@ -11,8 +11,9 @@ namespace Marro.PacManUdon
switch (sequenceProgress)
{
case 0:
PrepareForCutscene();
// Show just level display
RestartLevel();
statusDisplay.SetLevelDisplayVisible(true);
break;
case 1:
@@ -20,7 +21,6 @@ namespace Marro.PacManUdon
soundManager.SuppressSound(false);
soundManager.StartIntermissionSound();
pacMan.Reset();
pacMan.SetLevel(4);
pacMan.SetPowerPellet(false); // Update speed
pacMan.SetKinematic(true);
@@ -28,7 +28,6 @@ namespace Marro.PacManUdon
pacMan.SetPosition(intermissionScreenElements[0].transform.localPosition);
pacMan.SetDirection(Vector2.left);
ghostManager.Reset();
ghostManager.SetLevel(5);
ghostManager.SetKinematic(true);
ghostManager.gameObject.SetActive(true);