From e829d30f25224068d9f53531196f356f9cb06145 Mon Sep 17 00:00:00 2001 From: Slaith Date: Thu, 24 Feb 2022 22:59:18 -0800 Subject: [PATCH] Some small stuff Changed the window title to the new name and added some full count-ins --- Assets/Scripts/GlobalGameManager.cs | 2 +- Assets/Scripts/Minigames.cs | 66 +++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/GlobalGameManager.cs b/Assets/Scripts/GlobalGameManager.cs index efa66ac2..68bf60c8 100644 --- a/Assets/Scripts/GlobalGameManager.cs +++ b/Assets/Scripts/GlobalGameManager.cs @@ -49,7 +49,7 @@ namespace RhythmHeavenMania Init(); DontDestroyOnLoad(this.gameObject); instance = this; - Starpelly.OS.Windows.ChangeWindowTitle($"Rhythm Heaven Mania DEMO"); + Starpelly.OS.Windows.ChangeWindowTitle($"Heaven Studio DEMO"); } public static GameObject CreateFade() diff --git a/Assets/Scripts/Minigames.cs b/Assets/Scripts/Minigames.cs index c6fe4bf1..a6eb31d3 100644 --- a/Assets/Scripts/Minigames.cs +++ b/Assets/Scripts/Minigames.cs @@ -106,6 +106,72 @@ namespace RhythmHeavenMania }), new Minigame("countIn", "Count-Ins", "", false, true, new List() { + new GameAction("4 beat count-in", delegate + { + MultiSound.Play(new MultiSound.Sound[] + { + new MultiSound.Sound("count-ins/one1", eventCaller.currentEntity.beat), + new MultiSound.Sound("count-ins/two1", eventCaller.currentEntity.beat + 1f), + new MultiSound.Sound("count-ins/three1", eventCaller.currentEntity.beat + 2f), + new MultiSound.Sound("count-ins/four1", eventCaller.currentEntity.beat + 3f) + }, false); + }, 4f), + new GameAction("4 beat count-in (alt)", delegate + { + MultiSound.Play(new MultiSound.Sound[] + { + new MultiSound.Sound("count-ins/one2", eventCaller.currentEntity.beat), + new MultiSound.Sound("count-ins/two2", eventCaller.currentEntity.beat + 1f), + new MultiSound.Sound("count-ins/three2", eventCaller.currentEntity.beat + 2f), + new MultiSound.Sound("count-ins/four2", eventCaller.currentEntity.beat + 3f) + }, false); + }, 4f), + new GameAction("4 beat count-in (cowbell)", delegate + { + MultiSound.Play(new MultiSound.Sound[] + { + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat), + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat + 1f), + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat + 2f), + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat + 3f) + }, false); + }, 4f), + new GameAction("8 beat count-in", delegate + { + MultiSound.Play(new MultiSound.Sound[] + { + new MultiSound.Sound("count-ins/one1", eventCaller.currentEntity.beat), + new MultiSound.Sound("count-ins/two1", eventCaller.currentEntity.beat + 2f), + new MultiSound.Sound("count-ins/one1", eventCaller.currentEntity.beat + 4f), + new MultiSound.Sound("count-ins/two1", eventCaller.currentEntity.beat + 5f), + new MultiSound.Sound("count-ins/three1", eventCaller.currentEntity.beat + 6f), + new MultiSound.Sound("count-ins/four1", eventCaller.currentEntity.beat + 7f) + }, false); + }, 8f), + new GameAction("8 beat count-in (alt)", delegate + { + MultiSound.Play(new MultiSound.Sound[] + { + new MultiSound.Sound("count-ins/one2", eventCaller.currentEntity.beat), + new MultiSound.Sound("count-ins/two2", eventCaller.currentEntity.beat + 2f), + new MultiSound.Sound("count-ins/one2", eventCaller.currentEntity.beat + 4f), + new MultiSound.Sound("count-ins/two2", eventCaller.currentEntity.beat + 5f), + new MultiSound.Sound("count-ins/three2", eventCaller.currentEntity.beat + 6f), + new MultiSound.Sound("count-ins/four2", eventCaller.currentEntity.beat + 7f) + }, false); + }, 8f), + new GameAction("8 beat count-in (cowbell)", delegate + { + MultiSound.Play(new MultiSound.Sound[] + { + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat), + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat + 2f), + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat + 4f), + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat + 5f), + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat + 6f), + new MultiSound.Sound("count-ins/cowbell", eventCaller.currentEntity.beat + 7f) + }, false); + }, 8f), new GameAction("cowbell", delegate { Jukebox.PlayOneShot("count-ins/cowbell"); }, 1f), new GameAction("one", delegate { Jukebox.PlayOneShot("count-ins/one1"); }, 1f), new GameAction("one (alt)", delegate { Jukebox.PlayOneShot("count-ins/one2"); }, 1f),