i hate multisound for being 0.10 beats late

This commit is contained in:
KrispyDotlessI 2022-09-10 21:38:51 +08:00
parent 22222582b4
commit 6b3a6d158a
1 changed files with 8 additions and 7 deletions

View File

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