mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-27 01:03:35 +00:00
double gf on tutorial fix and inCutscene for week7
This commit is contained in:
parent
e4f21d9ba7
commit
b4274343c5
|
@ -928,6 +928,8 @@ class PlayState extends MusicBeatState
|
||||||
|
|
||||||
function ughIntro()
|
function ughIntro()
|
||||||
{
|
{
|
||||||
|
inCutscene = true;
|
||||||
|
|
||||||
FlxG.sound.playMusic(Paths.music('DISTORTO'), 0);
|
FlxG.sound.playMusic(Paths.music('DISTORTO'), 0);
|
||||||
FlxG.sound.music.fadeIn(5, 0, 0.5);
|
FlxG.sound.music.fadeIn(5, 0, 0.5);
|
||||||
|
|
||||||
|
@ -957,7 +959,9 @@ class PlayState extends MusicBeatState
|
||||||
{
|
{
|
||||||
boyfriend.playAnim('singUP');
|
boyfriend.playAnim('singUP');
|
||||||
// play sound
|
// 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)
|
new FlxTimer().start(3, function(swaggy:FlxTimer)
|
||||||
|
@ -990,6 +994,8 @@ class PlayState extends MusicBeatState
|
||||||
|
|
||||||
function gunsIntro()
|
function gunsIntro()
|
||||||
{
|
{
|
||||||
|
inCutscene = true;
|
||||||
|
|
||||||
camFollow.setPosition(camPos.x, camPos.y);
|
camFollow.setPosition(camPos.x, camPos.y);
|
||||||
|
|
||||||
camHUD.visible = false;
|
camHUD.visible = false;
|
||||||
|
@ -1048,6 +1054,8 @@ class PlayState extends MusicBeatState
|
||||||
|
|
||||||
function stressIntro()
|
function stressIntro()
|
||||||
{
|
{
|
||||||
|
inCutscene = true;
|
||||||
|
|
||||||
// for story mode shit
|
// for story mode shit
|
||||||
camFollow.setPosition(camPos.x, camPos.y);
|
camFollow.setPosition(camPos.x, camPos.y);
|
||||||
|
|
||||||
|
@ -1382,8 +1390,6 @@ class PlayState extends MusicBeatState
|
||||||
|
|
||||||
function startCountdown():Void
|
function startCountdown():Void
|
||||||
{
|
{
|
||||||
gf.visible = true;
|
|
||||||
|
|
||||||
inCutscene = false;
|
inCutscene = false;
|
||||||
|
|
||||||
generateStaticArrows(0);
|
generateStaticArrows(0);
|
||||||
|
|
Loading…
Reference in a new issue