From 972a10d7c653e3a5eb2e1471e5af26ed8e180cc4 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sat, 18 Mar 2023 02:03:26 +0100 Subject: [PATCH] new ui stuff --- assets/data/stages/spooky.hx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/data/stages/spooky.hx b/assets/data/stages/spooky.hx index fe56f089..1589bd7c 100644 --- a/assets/data/stages/spooky.hx +++ b/assets/data/stages/spooky.hx @@ -1,7 +1,12 @@ public var lightningStrike:Bool = true; public var lightningStrikeBeat:Int = 0; public var lightningOffset:Int = 8; +public var thunderSFXamount:Int = 2; +function create() { + for(i in 0...2) + FlxG.sound.load(Paths.sound('thunder_' + Std.string(i))); +} public function lightningStrikeShit():Void { FlxG.sound.play(Paths.soundRandom('thunder_', 1, 2));