new ui stuff

This commit is contained in:
Yoshman29
2023-03-18 02:03:26 +01:00
parent 418089fdf6
commit 972a10d7c6
+5
View File
@@ -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));