cutscene shit in progress
This commit is contained in:
parent
48964c3c08
commit
d964223ee7
Binary file not shown.
|
@ -1029,6 +1029,15 @@ class PlayState extends MusicBeatState
|
||||||
{
|
{
|
||||||
inCutscene = true;
|
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);
|
camFollow.setPosition(camPos.x, camPos.y);
|
||||||
|
|
||||||
camHUD.visible = false;
|
camHUD.visible = false;
|
||||||
|
@ -1071,7 +1080,7 @@ class PlayState extends MusicBeatState
|
||||||
});
|
});
|
||||||
|
|
||||||
camHUD.visible = true;
|
camHUD.visible = true;
|
||||||
});
|
});*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -47,7 +47,7 @@ import sys.thread.Thread;
|
||||||
|
|
||||||
class TitleState extends MusicBeatState
|
class TitleState extends MusicBeatState
|
||||||
{
|
{
|
||||||
static var initialized:Bool = false;
|
public static var initialized:Bool = false;
|
||||||
|
|
||||||
var blackScreen:FlxSprite;
|
var blackScreen:FlxSprite;
|
||||||
var credGroup:FlxGroup;
|
var credGroup:FlxGroup;
|
||||||
|
|
|
@ -64,6 +64,7 @@ class VideoState extends MusicBeatState
|
||||||
netStream.dispose();
|
netStream.dispose();
|
||||||
FlxG.removeChild(video);
|
FlxG.removeChild(video);
|
||||||
|
|
||||||
|
TitleState.initialized = false;
|
||||||
FlxG.switchState(new TitleState());
|
FlxG.switchState(new TitleState());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue