mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 12:47:38 +02:00
Fixes and a couple new features here and there (#616)
* i love the blue bear * launch party beginning * fork lifter fixes * whiff strum guitar + snekky * rockers score miss fix * splashdown tweak * auto dispense and inactive dispense iteration 1 * fixed some auto dispense bugs * another small fix * auto dispense + miss stuff * fixed mr game and watch being slow boy * no log * monk fix * bg launch aprt * coint oss layer thing * tap troupe and double date fixes * fixing spaceball line * extended cheer reaers bg * upbeat constant * fixed uglyness * Gomenasai * fix lines 2 * tram and pauline new sprite --------- Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: minenice55 <star.elementa@gmail.com>
This commit is contained in:
@ -269,12 +269,12 @@ namespace HeavenStudio.Games
|
||||
}));
|
||||
SoundByte.PlayOneShotGame("splashdown/yeah", diveBeat);
|
||||
SoundByte.PlayOneShotGame("splashdown/jumpOthers", diveBeat);
|
||||
SoundByte.PlayOneShotGame("splashdown/rollOthers", diveBeat + 1);
|
||||
if (dolphin) SoundByte.PlayOneShotGame("splashdown/rollOthers", diveBeat + 1);
|
||||
SoundByte.PlayOneShotGame("splashdown/splashOthers", diveBeat + 1.75);
|
||||
}
|
||||
BeatAction.New(instance, actions);
|
||||
SoundByte.PlayOneShotGame("splashdown/yeah", beat + (currentSynchrettes.Count * length));
|
||||
ScheduleInput(beat, currentSynchrettes.Count * length, InputAction_FlickRelease, dolphin ? JustJump : JustJumpNoDolphin, Out, Out);
|
||||
ScheduleInput(beat, currentSynchrettes.Count * length, InputAction_FlickRelease, dolphin ? JustJump : JustJumpNoRollSound, Out, Out);
|
||||
}
|
||||
|
||||
public void TogetherJump(double beat, bool alleyoop)
|
||||
@ -416,25 +416,6 @@ namespace HeavenStudio.Games
|
||||
});
|
||||
}
|
||||
|
||||
private void JustJumpNoDolphin(PlayerActionEvent caller, float state)
|
||||
{
|
||||
double diveBeat = caller.timer + caller.startBeat;
|
||||
SoundByte.PlayOneShotGame("splashdown/jumpPlayer");
|
||||
SoundByte.PlayOneShotGame("splashdown/splashPlayer", diveBeat + 1.75);
|
||||
if (state >= 1f || state <= -1f)
|
||||
{
|
||||
player.Jump(diveBeat, true, true);
|
||||
return;
|
||||
}
|
||||
SoundByte.PlayOneShotGame("splashdown/rollPlayer", diveBeat + 1);
|
||||
player.Jump(diveBeat, false, true);
|
||||
BeatAction.New(instance, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(diveBeat + 1.75, delegate { crowdAnim.DoScaledAnimationAsync("CrowdCheer", 0.5f); }),
|
||||
new BeatAction.Action(diveBeat + 4, delegate { crowdAnim.Play("CrowdIdle", 0, 0); })
|
||||
});
|
||||
}
|
||||
|
||||
private void JustJumpNoRollSound(PlayerActionEvent caller, float state)
|
||||
{
|
||||
double diveBeat = caller.timer + caller.startBeat;
|
||||
|
Reference in New Issue
Block a user