mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 22:27:38 +02:00
Updates to note paramaters + some additional sound fixes (for r2) (#834)
* Note param stuff + some other fixes * Stuff just for r2
This commit is contained in:
@ -74,7 +74,7 @@ namespace HeavenStudio.Games.Scripts_GleeClub
|
||||
anim.SetBool("Mega", true);
|
||||
anim.Play("OpenMouth", 0, 0);
|
||||
shouldMegaClose = true;
|
||||
if (currentSound != null) currentSound.Stop();
|
||||
if (currentSound != null) currentSound.KillLoop();
|
||||
SoundByte.PlayOneShotGame("gleeClub/LoudWailStart");
|
||||
currentSound = SoundByte.PlayOneShotGame("gleeClub/LoudWailLoop", -1, currentPitch, 1f, true);
|
||||
BeatAction.New(game, new List<BeatAction.Action>()
|
||||
@ -95,7 +95,7 @@ namespace HeavenStudio.Games.Scripts_GleeClub
|
||||
anim.SetBool("Mega", false);
|
||||
shouldMegaClose = false;
|
||||
anim.Play("OpenMouth", 0, 0);
|
||||
if (currentSound != null) currentSound.Stop();
|
||||
if (currentSound != null) currentSound.KillLoop();
|
||||
currentSound = SoundByte.PlayOneShotGame("gleeClub/WailLoop", -1, currentPitch, 1f, true);
|
||||
}
|
||||
|
||||
@ -104,7 +104,8 @@ namespace HeavenStudio.Games.Scripts_GleeClub
|
||||
if (!singing || disappeared) return;
|
||||
singing = false;
|
||||
anim.Play(mega ? "MegaCloseMouth" : "CloseMouth", 0, 0);
|
||||
if (currentSound != null) currentSound.Stop();
|
||||
if (currentSound != null) currentSound.KillLoop();
|
||||
currentSound = null;
|
||||
if (playSound) SoundByte.PlayOneShotGame("gleeClub/StopWail");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user