mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-13 21:25:09 +00:00
Added Placeholder animations for Tap Trial
Added Double Tap and Triple Tap placeholder animations so they can be used in a remix until they're made actually playable.
This commit is contained in:
parent
811f4ce292
commit
538bc3cfa5
2 changed files with 35 additions and 1 deletions
|
@ -18,6 +18,8 @@ namespace RhythmHeavenMania.Games.TapTrial
|
||||||
instance = this;
|
instance = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The following is all solely animations for placeholder. This isn't playable
|
||||||
|
|
||||||
public void Tap(float beat)
|
public void Tap(float beat)
|
||||||
{
|
{
|
||||||
MultiSound.Play(new MultiSound.Sound[]
|
MultiSound.Play(new MultiSound.Sound[]
|
||||||
|
@ -37,12 +39,44 @@ namespace RhythmHeavenMania.Games.TapTrial
|
||||||
|
|
||||||
public void DoubleTap(float beat)
|
public void DoubleTap(float beat)
|
||||||
{
|
{
|
||||||
|
MultiSound.Play(new MultiSound.Sound[]
|
||||||
|
{
|
||||||
|
new MultiSound.Sound("tapTrial/ookook", beat),
|
||||||
|
new MultiSound.Sound("tapTrial/ookook", beat + 0.5f),
|
||||||
|
new MultiSound.Sound("tapTrial/tap", beat + 1.0f),
|
||||||
|
new MultiSound.Sound("tapTrial/tap", beat + 1.5f),
|
||||||
|
});
|
||||||
|
|
||||||
|
GameObject beatAction = new GameObject();
|
||||||
|
beatAction.transform.SetParent(this.transform);
|
||||||
|
BeatAction.New(beatAction, new List<BeatAction.Action>()
|
||||||
|
{
|
||||||
|
new BeatAction.Action(beat + 0.0f, delegate { player.anim.Play("DoubleTapPrepare", 0, 0); }),
|
||||||
|
new BeatAction.Action(beat + 1.0f, delegate { player.anim.Play("DoubleTap", 0, 0); }),
|
||||||
|
new BeatAction.Action(beat + 1.5f, delegate { player.anim.Play("DoubleTap", 0, 0); }),
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void TripleTap(float beat)
|
public void TripleTap(float beat)
|
||||||
{
|
{
|
||||||
|
MultiSound.Play(new MultiSound.Sound[]
|
||||||
|
{
|
||||||
|
new MultiSound.Sound("tapTrial/ooki1", beat),
|
||||||
|
new MultiSound.Sound("tapTrial/ooki2", beat + 0.5f),
|
||||||
|
new MultiSound.Sound("tapTrial/tap", beat + 2.0f),
|
||||||
|
new MultiSound.Sound("tapTrial/tap", beat + 2.5f),
|
||||||
|
new MultiSound.Sound("tapTrial/tap", beat + 3.0f),
|
||||||
|
});
|
||||||
|
|
||||||
|
GameObject beatAction = new GameObject();
|
||||||
|
beatAction.transform.SetParent(this.transform);
|
||||||
|
BeatAction.New(beatAction, new List<BeatAction.Action>()
|
||||||
|
{
|
||||||
|
new BeatAction.Action(beat + 0.0f, delegate { player.anim.Play("PosePrepare", 0, 0); }),
|
||||||
|
new BeatAction.Action(beat + 2.0f, delegate { player.anim.Play("Tap", 0, 0); }),
|
||||||
|
new BeatAction.Action(beat + 2.5f, delegate { player.anim.Play("DoubleTap", 0, 0); }),
|
||||||
|
new BeatAction.Action(beat + 3.0f, delegate { player.anim.Play("Tap", 0, 0); }),
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void JumpTap(float beat)
|
public void JumpTap(float beat)
|
||||||
|
|
|
@ -332,7 +332,7 @@ namespace RhythmHeavenMania
|
||||||
}),
|
}),
|
||||||
new Minigame("tapTrial", "Tap Trial \n<color=#eb5454>[WIP don't use]</color>", "93ffb3", false, false, new List<GameAction>()
|
new Minigame("tapTrial", "Tap Trial \n<color=#eb5454>[WIP don't use]</color>", "93ffb3", false, false, new List<GameAction>()
|
||||||
{
|
{
|
||||||
new GameAction("tap", delegate { TapTrial.instance.Tap(eventCaller.currentEntity.beat); }, 1.5f, false),
|
new GameAction("tap", delegate { TapTrial.instance.Tap(eventCaller.currentEntity.beat); }, 2.0f, false),
|
||||||
new GameAction("double tap", delegate { TapTrial.instance.DoubleTap(eventCaller.currentEntity.beat); }, 2.0f, false),
|
new GameAction("double tap", delegate { TapTrial.instance.DoubleTap(eventCaller.currentEntity.beat); }, 2.0f, false),
|
||||||
new GameAction("triple tap", delegate { TapTrial.instance.TripleTap(eventCaller.currentEntity.beat); }, 4.0f, false),
|
new GameAction("triple tap", delegate { TapTrial.instance.TripleTap(eventCaller.currentEntity.beat); }, 4.0f, false),
|
||||||
new GameAction("jump tap", delegate { TapTrial.instance.JumpTap(eventCaller.currentEntity.beat); }, 2.0f, false),
|
new GameAction("jump tap", delegate { TapTrial.instance.JumpTap(eventCaller.currentEntity.beat); }, 2.0f, false),
|
||||||
|
|
Loading…
Reference in a new issue