mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 13:07:40 +02:00
Added "ooh" toggle to DJ School
This commit is contained in:
@ -84,7 +84,7 @@ namespace RhythmHeavenMania.Games.DJSchool
|
||||
bop.length = length;
|
||||
}
|
||||
|
||||
public void BreakCmon(float beat, int type)
|
||||
public void BreakCmon(float beat, int type, bool ooh)
|
||||
{
|
||||
if (djYellowHolding) return;
|
||||
|
||||
@ -103,12 +103,17 @@ namespace RhythmHeavenMania.Games.DJSchool
|
||||
break;
|
||||
}
|
||||
|
||||
MultiSound.Play(new MultiSound.Sound[]
|
||||
var sound = new MultiSound.Sound[]
|
||||
{
|
||||
new MultiSound.Sound(sounds[0], beat),
|
||||
new MultiSound.Sound(sounds[1], beat + 1f - (0.030f/Conductor.instance.secPerBeat)*Conductor.instance.musicSource.pitch),
|
||||
new MultiSound.Sound(sounds[2], beat + 2f),
|
||||
});
|
||||
new MultiSound.Sound("", beat + 2f)
|
||||
};
|
||||
|
||||
if (ooh)
|
||||
sound[2] = new MultiSound.Sound(sounds[2], beat + 2f);
|
||||
|
||||
MultiSound.Play(sound);
|
||||
|
||||
BeatAction.New(djYellow, new List<BeatAction.Action>()
|
||||
{
|
||||
@ -122,16 +127,21 @@ namespace RhythmHeavenMania.Games.DJSchool
|
||||
});
|
||||
}
|
||||
|
||||
public void AndStop(float beat)
|
||||
public void AndStop(float beat, bool ooh)
|
||||
{
|
||||
if (djYellowHolding) return;
|
||||
|
||||
MultiSound.Play(new MultiSound.Sound[]
|
||||
var sound = new MultiSound.Sound[]
|
||||
{
|
||||
new MultiSound.Sound("djSchool/andStop1", beat),
|
||||
new MultiSound.Sound("djSchool/andStop2", beat + .5f - (0.1200f/Conductor.instance.secPerBeat)*Conductor.instance.musicSource.pitch),
|
||||
new MultiSound.Sound("djSchool/oohAlt", beat + 1.5f),
|
||||
});
|
||||
new MultiSound.Sound("", beat + 1.5f)
|
||||
};
|
||||
|
||||
if (ooh)
|
||||
sound[2] = new MultiSound.Sound("djSchool/oohAlt", beat + 1.5f);
|
||||
|
||||
MultiSound.Play(sound);
|
||||
|
||||
BeatAction.New(djYellow, new List<BeatAction.Action>()
|
||||
{
|
||||
|
Reference in New Issue
Block a user