Merge pull request #1251 from CyndaquilDAC/fix-customize-gameplay

Add GF to customize gameplay state
This commit is contained in:
Kade M 2021-07-12 13:07:50 -07:00 committed by GitHub
commit 47bfee6d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);