mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-08 18:55:07 +00:00
Rhythm Rally: Whistle separated from "toss ball" event and added to "whistle" event
This commit is contained in:
parent
87d1048a0f
commit
e0d2f2109e
2 changed files with 6 additions and 1 deletions
|
@ -306,7 +306,6 @@ namespace RhythmHeavenMania.Games.RhythmRally
|
|||
if (firstToss)
|
||||
{
|
||||
opponentAnim.Play("Ready1");
|
||||
Jukebox.PlayOneShotGame("rhythmRally/Whistle");
|
||||
}
|
||||
|
||||
StartCoroutine(TossTrailCo());
|
||||
|
@ -329,6 +328,11 @@ namespace RhythmHeavenMania.Games.RhythmRally
|
|||
ball.transform.position = tossCurve.GetPoint(Mathf.Clamp(tossPosition, 0, 1));
|
||||
}
|
||||
|
||||
public void PlayWhistle()
|
||||
{
|
||||
Jukebox.PlayOneShotGame("rhythmRally/Whistle");
|
||||
}
|
||||
|
||||
public void Pose()
|
||||
{
|
||||
playerAnim.Play("Pose", 0, 0);
|
||||
|
|
|
@ -231,6 +231,7 @@ namespace RhythmHeavenMania
|
|||
new Minigame("rhythmRally", "Rhythm Rally \n<color=#eb5454>[WIP don't use]</color>", "FFFFFF", true, false, new List<GameAction>()
|
||||
{
|
||||
new GameAction("bop", delegate { RhythmRally.instance.Bop(eventCaller.currentEntity.beat, eventCaller.currentEntity.length); }, 0.5f, true),
|
||||
new GameAction("whistle", delegate { RhythmRally.instance.PlayWhistle(); }, 0.5f),
|
||||
new GameAction("toss ball", delegate { RhythmRally.instance.Toss(eventCaller.currentEntity.beat, eventCaller.currentEntity.length, 6f, true); }, 2f),
|
||||
new GameAction("rally", delegate { RhythmRally.instance.Serve(eventCaller.currentEntity.beat, RhythmRally.RallySpeed.Normal); }, 4f, true),
|
||||
new GameAction("slow rally", delegate { RhythmRally.instance.Serve(eventCaller.currentEntity.beat, RhythmRally.RallySpeed.Slow); }, 8f, true),
|
||||
|
|
Loading…
Reference in a new issue