mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-09-17 15:38:52 +00:00
cutscene shit in progress
This commit is contained in:
parent
ac8a8aef42
commit
e1a6325e02
|
@ -1029,6 +1029,15 @@ class PlayState extends MusicBeatState
|
|||
{
|
||||
inCutscene = true;
|
||||
|
||||
var vid:FlxVideo = new FlxVideo('music/gunsCutscene.mp4');
|
||||
vid.finishCallback = function()
|
||||
{
|
||||
FlxTween.tween(FlxG.camera, {zoom: defaultCamZoom}, (Conductor.crochet / 1000) * 5, {ease: FlxEase.quadInOut});
|
||||
startCountdown();
|
||||
cameraMovement();
|
||||
};
|
||||
|
||||
/*
|
||||
camFollow.setPosition(camPos.x, camPos.y);
|
||||
|
||||
camHUD.visible = false;
|
||||
|
@ -1071,7 +1080,7 @@ class PlayState extends MusicBeatState
|
|||
});
|
||||
|
||||
camHUD.visible = true;
|
||||
});
|
||||
});*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -47,7 +47,7 @@ import sys.thread.Thread;
|
|||
|
||||
class TitleState extends MusicBeatState
|
||||
{
|
||||
static var initialized:Bool = false;
|
||||
public static var initialized:Bool = false;
|
||||
|
||||
var blackScreen:FlxSprite;
|
||||
var credGroup:FlxGroup;
|
||||
|
|
|
@ -64,6 +64,7 @@ class VideoState extends MusicBeatState
|
|||
netStream.dispose();
|
||||
FlxG.removeChild(video);
|
||||
|
||||
TitleState.initialized = false;
|
||||
FlxG.switchState(new TitleState());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue