1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-10 22:28:12 +00:00

Introbizz

This commit is contained in:
CheemsAndFriends 2024-09-12 23:13:30 +02:00
parent 2a9814e030
commit 6dca858fd7

View file

@ -20,8 +20,6 @@ class IntroSubState extends MusicBeatSubState
{ {
static final ATTRACT_VIDEO_PATH:String = Paths.stripLibrary(Paths.videos('introSelect')); static final ATTRACT_VIDEO_PATH:String = Paths.stripLibrary(Paths.videos('introSelect'));
var introSound:FunkinSound = null;
public override function create():Void public override function create():Void
{ {
// Pause existing music. // Pause existing music.
@ -40,15 +38,6 @@ class IntroSubState extends MusicBeatSubState
trace('Playing native video ${ATTRACT_VIDEO_PATH}'); trace('Playing native video ${ATTRACT_VIDEO_PATH}');
playVideoNative(ATTRACT_VIDEO_PATH); playVideoNative(ATTRACT_VIDEO_PATH);
#end #end
introSound = new FunkinSound();
introSound.loadEmbedded(Paths.sound('CS_Lights'));
introSound.pitch = 1;
FlxG.sound.defaultSoundGroup.add(introSound);
FlxG.sound.list.add(introSound);
introSound.play(true);
} }
#if html5 #if html5