mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 19:55:09 +00:00
Added Ding/Applause SFX to Mr. Upbeat
This commit is contained in:
parent
3f2cc123cb
commit
8dc36b1cb9
2 changed files with 11 additions and 0 deletions
|
@ -82,6 +82,13 @@ namespace RhythmHeavenMania.Games.MrUpbeat
|
||||||
beatCount = 0;
|
beatCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Ding(bool applause)
|
||||||
|
{
|
||||||
|
if(applause)
|
||||||
|
Jukebox.PlayOneShotGame("mrUpbeat/applause");
|
||||||
|
else
|
||||||
|
Jukebox.PlayOneShotGame("mrUpbeat/ding");
|
||||||
|
}
|
||||||
|
|
||||||
public void Beat(float beat)
|
public void Beat(float beat)
|
||||||
{
|
{
|
||||||
|
|
|
@ -378,6 +378,10 @@ namespace RhythmHeavenMania
|
||||||
{
|
{
|
||||||
new GameAction("prepare", delegate { MrUpbeat.instance.SetInterval(eventCaller.currentEntity.beat); }, 0.5f, true),
|
new GameAction("prepare", delegate { MrUpbeat.instance.SetInterval(eventCaller.currentEntity.beat); }, 0.5f, true),
|
||||||
new GameAction("go", delegate { MrUpbeat.instance.Go(eventCaller.currentEntity.beat); }, 4f, true),
|
new GameAction("go", delegate { MrUpbeat.instance.Go(eventCaller.currentEntity.beat); }, 4f, true),
|
||||||
|
new GameAction("ding!", delegate { MrUpbeat.instance.Ding(eventCaller.currentEntity.toggle); }, 0.5f, parameters: new List<Param>()
|
||||||
|
{
|
||||||
|
new Param("toggle", false, "Applause")
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
/*new Minigame("spaceDance", "Space Dance", "B888F8", new List<GameAction>()
|
/*new Minigame("spaceDance", "Space Dance", "B888F8", new List<GameAction>()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue