1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-30 02:33:40 +00:00

double gf on tutorial fix and inCutscene for week7

This commit is contained in:
MtH 2021-04-12 00:53:37 +02:00
parent e4f21d9ba7
commit b4274343c5

View file

@ -928,6 +928,8 @@ class PlayState extends MusicBeatState
function ughIntro()
{
inCutscene = true;
FlxG.sound.playMusic(Paths.music('DISTORTO'), 0);
FlxG.sound.music.fadeIn(5, 0, 0.5);
@ -957,7 +959,9 @@ class PlayState extends MusicBeatState
{
boyfriend.playAnim('singUP');
// play sound
FlxG.sound.play(Paths.sound('bfBeep'));
FlxG.sound.play(Paths.sound('bfBeep'), function() {
boyfriend.playAnim('idle');
});
});
new FlxTimer().start(3, function(swaggy:FlxTimer)
@ -990,6 +994,8 @@ class PlayState extends MusicBeatState
function gunsIntro()
{
inCutscene = true;
camFollow.setPosition(camPos.x, camPos.y);
camHUD.visible = false;
@ -1048,6 +1054,8 @@ class PlayState extends MusicBeatState
function stressIntro()
{
inCutscene = true;
// for story mode shit
camFollow.setPosition(camPos.x, camPos.y);
@ -1382,8 +1390,6 @@ class PlayState extends MusicBeatState
function startCountdown():Void
{
gf.visible = true;
inCutscene = false;
generateStaticArrows(0);