mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 14:07:37 +02:00
Added Change Lion Count event to Clappy Trio
1-8 lions thats crazy
This commit is contained in:
@ -150,6 +150,19 @@ namespace RhythmHeavenMania.Games.ClappyTrio
|
|||||||
PlayAnimationAll("Bop");
|
PlayAnimationAll("Bop");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ChangeLionCount(int lions)
|
||||||
|
{
|
||||||
|
for(int i=1; i<lionCount; i++)
|
||||||
|
{
|
||||||
|
Destroy(Lion[i]);
|
||||||
|
}
|
||||||
|
Lion.RemoveRange(1, lionCount - 1);
|
||||||
|
lionCount = lions;
|
||||||
|
SetFace(0, 0);
|
||||||
|
Start();
|
||||||
|
PlayAnimationAll("Idle");
|
||||||
|
}
|
||||||
|
|
||||||
private void PlayAnimationAll(string anim)
|
private void PlayAnimationAll(string anim)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < Lion.Count; i++)
|
for (int i = 0; i < Lion.Count; i++)
|
||||||
|
@ -211,6 +211,10 @@ namespace RhythmHeavenMania
|
|||||||
new GameAction("bop", delegate { ClappyTrio.instance.Bop(eventCaller.currentEntity.beat); } ),
|
new GameAction("bop", delegate { ClappyTrio.instance.Bop(eventCaller.currentEntity.beat); } ),
|
||||||
new GameAction("prepare", delegate { ClappyTrio.instance.Prepare(0); } ),
|
new GameAction("prepare", delegate { ClappyTrio.instance.Prepare(0); } ),
|
||||||
new GameAction("prepare_alt", delegate { ClappyTrio.instance.Prepare(3); } ),
|
new GameAction("prepare_alt", delegate { ClappyTrio.instance.Prepare(3); } ),
|
||||||
|
new GameAction("change lion count", delegate { ClappyTrio.instance.ChangeLionCount((int)eventCaller.currentEntity.valA); }, 0.5f, false, new List<Param>()
|
||||||
|
{
|
||||||
|
new Param("valA", new EntityTypes.Integer(1, 8, 3), "Lion Count")
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
new Minigame("spaceball", "Spaceball", "00A518", false, false, new List<GameAction>()
|
new Minigame("spaceball", "Spaceball", "00A518", false, false, new List<GameAction>()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user