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:
@@ -27,7 +28,6 @@ namespace Marro.PacManUdon
break;
case 3:
// Start animation, pacman running and blinky prepared to chase
pacMan.Reset();
pacMan.SetLevel(4);
pacMan.SetPowerPellet(false); // Update speed
pacMan.SetKinematic(true);
@@ -35,7 +35,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);