fix tunnel cues

This commit is contained in:
DPS2004 2022-08-20 15:48:56 -04:00
parent a8403ff078
commit 889533b883
4 changed files with 39 additions and 2484 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -182,20 +182,27 @@ namespace HeavenStudio.Games
public void CountIn(float beat, float length)
{
List<MultiSound.Sound> cuelist = new List<MultiSound.Sound>();
for (int i = 0; i <= length; i++)
{
if(i % 2 == 0)
{
Jukebox.PlayOneShotGame("tunnel/en/one", beat+i);
print("cueing one at " + (beat + i));
//Jukebox.PlayOneShotGame("tunnel/en/one", beat+i);
//print("cueing one at " + (beat + i));
cuelist.Add(new MultiSound.Sound("tunnel/en/one", beat + i));
}
else
{
Jukebox.PlayOneShotGame("tunnel/en/two", beat+i);
print("cueing two at " + (beat + i));
//Jukebox.PlayOneShotGame("tunnel/en/two", beat+i);
//print("cueing two at " + (beat + i));
cuelist.Add(new MultiSound.Sound("tunnel/en/two", beat + i));
}
}
MultiSound.Play(cuelist.ToArray());
}

File diff suppressed because one or more lines are too long