Merge pull request #1251 from CyndaquilDAC/fix-customize-gameplay
Add GF to customize gameplay state
This commit is contained in:
commit
47bfee6d81
@ -33,6 +33,7 @@ class GameplayCustomizeState extends MusicBeatState
|
||||
|
||||
var bf:Boyfriend;
|
||||
var dad:Character;
|
||||
var gf:Character;
|
||||
|
||||
var strumLine:FlxSprite;
|
||||
var strumLineNotes:FlxTypedGroup<FlxSprite>;
|
||||
@ -74,10 +75,14 @@ class GameplayCustomizeState extends MusicBeatState
|
||||
|
||||
bf = new Boyfriend(770, 450, 'bf');
|
||||
|
||||
gf = new Character(400, 130, 'gf');
|
||||
gf.scrollFactor.set(0.95, 0.95);
|
||||
|
||||
var camPos:FlxPoint = new FlxPoint(dad.getGraphicMidpoint().x + 400, dad.getGraphicMidpoint().y);
|
||||
|
||||
camFollow.setPosition(camPos.x, camPos.y);
|
||||
|
||||
add(gf);
|
||||
add(bf);
|
||||
add(dad);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user