mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
fix tunnel cues
This commit is contained in:
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
|
@ -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
Loading…
Reference in a new issue