mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-23 05:37:38 +00:00
Introbizz
This commit is contained in:
parent
2a9814e030
commit
6dca858fd7
|
@ -20,8 +20,6 @@ class IntroSubState extends MusicBeatSubState
|
|||
{
|
||||
static final ATTRACT_VIDEO_PATH:String = Paths.stripLibrary(Paths.videos('introSelect'));
|
||||
|
||||
var introSound:FunkinSound = null;
|
||||
|
||||
public override function create():Void
|
||||
{
|
||||
// Pause existing music.
|
||||
|
@ -40,15 +38,6 @@ class IntroSubState extends MusicBeatSubState
|
|||
trace('Playing native video ${ATTRACT_VIDEO_PATH}');
|
||||
playVideoNative(ATTRACT_VIDEO_PATH);
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue