mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-01 01:36:47 +00:00
pixel countdown
This commit is contained in:
parent
484ad359a4
commit
627226dca9
|
@ -994,7 +994,7 @@ class PlayState extends MusicBeatState
|
||||||
|
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
FlxG.sound.play(Paths.sound('intro3'), 0.6);
|
FlxG.sound.play(Paths.sound('intro3' + altSuffix), 0.6);
|
||||||
case 1:
|
case 1:
|
||||||
var ready:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[0]));
|
var ready:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[0]));
|
||||||
ready.scrollFactor.set();
|
ready.scrollFactor.set();
|
||||||
|
@ -1012,7 +1012,7 @@ class PlayState extends MusicBeatState
|
||||||
ready.destroy();
|
ready.destroy();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
FlxG.sound.play(Paths.sound('intro2'), 0.6);
|
FlxG.sound.play(Paths.sound('intro2' + altSuffix), 0.6);
|
||||||
case 2:
|
case 2:
|
||||||
var set:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[1]));
|
var set:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[1]));
|
||||||
set.scrollFactor.set();
|
set.scrollFactor.set();
|
||||||
|
@ -1029,7 +1029,7 @@ class PlayState extends MusicBeatState
|
||||||
set.destroy();
|
set.destroy();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
FlxG.sound.play(Paths.sound('intro1'), 0.6);
|
FlxG.sound.play(Paths.sound('intro1' + altSuffix), 0.6);
|
||||||
case 3:
|
case 3:
|
||||||
var go:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[2]));
|
var go:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[2]));
|
||||||
go.scrollFactor.set();
|
go.scrollFactor.set();
|
||||||
|
@ -1048,7 +1048,7 @@ class PlayState extends MusicBeatState
|
||||||
go.destroy();
|
go.destroy();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
FlxG.sound.play(Paths.sound('introGo'), 0.6);
|
FlxG.sound.play(Paths.sound('introGo' + altSuffix), 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
swagCounter += 1;
|
swagCounter += 1;
|
||||||
|
|
Loading…
Reference in a new issue