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:
EpicGamer2469
2024-04-07 21:18:51 -05:00
committed by GitHub
parent 203f7f4c02
commit af217a23e9
32 changed files with 765 additions and 360 deletions

View File

@ -139,9 +139,9 @@ namespace HeavenStudio.Games
tunnelLightMaterial.SetColor("_Color", Color.white);
tunnelLightMaterial.SetColor("_AddColor", Color.black);
tunnelSoundRight?.Stop();
tunnelSoundMiddle?.Stop();
tunnelSoundLeft?.Stop();
tunnelSoundRight?.KillLoop();
tunnelSoundMiddle?.KillLoop();
tunnelSoundLeft?.KillLoop();
}
}
@ -291,9 +291,9 @@ namespace HeavenStudio.Games
this.fadeDuration = fadeDuration;
conductor.FadeMinigameVolume(beat, fadeDuration, volume);
tunnelSoundRight?.Stop();
tunnelSoundMiddle?.Stop();
tunnelSoundLeft?.Stop();
tunnelSoundRight?.KillLoop();
tunnelSoundMiddle?.KillLoop();
tunnelSoundLeft?.KillLoop();
tunnelSoundRight = SoundByte.PlayOneShotGame("tunnel/tunnelRight", beat, looping: true);
tunnelSoundMiddle = SoundByte.PlayOneShotGame("tunnel/tunnelMiddle", beat + (6 / 48f), looping: true);