LOSS SCREEN WIP
This commit is contained in:
@ -9,7 +9,7 @@ import flixel.util.FlxColor;
|
||||
|
||||
class PauseSubState extends FlxSubState
|
||||
{
|
||||
public function new()
|
||||
public function new(x:Float, y:Float)
|
||||
{
|
||||
super();
|
||||
var bg:FlxSprite = new FlxSprite().makeGraphic(FlxG.width, FlxG.height, FlxColor.BLACK);
|
||||
@ -17,6 +17,12 @@ class PauseSubState extends FlxSubState
|
||||
bg.scrollFactor.set();
|
||||
add(bg);
|
||||
|
||||
var bf:Boyfriend = new Boyfriend(x, y);
|
||||
bf.scrollFactor.set();
|
||||
// add(bf);
|
||||
|
||||
bf.playAnim('firstDeath');
|
||||
|
||||
bg.cameras = [FlxG.cameras.list[1]];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user