Coin Toss - Temporary Fix to Cowbell Cues

they keep going offbeat to the throw when i put in multisound
This commit is contained in:
KrispyDotlessI 2022-09-10 21:29:00 +08:00
parent 287f8db6d1
commit 22222582b4

View file

@ -168,8 +168,8 @@ namespace HeavenStudio.Games
switch (type) switch (type)
{ {
case (int) CoinToss.CoinVariation.Cowbell: case (int) CoinToss.CoinVariation.Cowbell:
Jukebox.PlayOneShotGame("coinToss/cowbell1"); //this was intentional. it was to avoid the throw and cowbells to go offbeat.
MultiSound.Play(new MultiSound.Sound[] { MultiSound.Play(new MultiSound.Sound[] {
new MultiSound.Sound("coinToss/cowbell1", beat),
new MultiSound.Sound("coinToss/cowbell2", beat + 1f), new MultiSound.Sound("coinToss/cowbell2", beat + 1f),
new MultiSound.Sound("coinToss/cowbell1", beat + 2f), new MultiSound.Sound("coinToss/cowbell1", beat + 2f),
new MultiSound.Sound("coinToss/cowbell2", beat + 3f), new MultiSound.Sound("coinToss/cowbell2", beat + 3f),