fix score
This commit is contained in:
parent
39d52b9e0b
commit
9956c74e68
@ -24,7 +24,7 @@ class GameplayCustomizeState extends MusicBeatState
|
||||
|
||||
var sick:FlxSprite = new FlxSprite().loadGraphic(Paths.image('sick','shared'));
|
||||
|
||||
var bf:Boyfriend = new Boyfriend(770, 450, 'bf');
|
||||
var bf:Boyfriend;
|
||||
var dad:Character;
|
||||
|
||||
var strumLine:FlxSprite;
|
||||
@ -59,6 +59,8 @@ class GameplayCustomizeState extends MusicBeatState
|
||||
|
||||
dad = new Character(100, 100, 'dad');
|
||||
|
||||
bf = new Boyfriend(770, 450, 'bf');
|
||||
|
||||
var camPos:FlxPoint = new FlxPoint(dad.getGraphicMidpoint().x + 400, dad.getGraphicMidpoint().y);
|
||||
|
||||
camFollow.setPosition(camPos.x, camPos.y);
|
||||
|
@ -1786,6 +1786,8 @@ class PlayState extends MusicBeatState
|
||||
super.update(elapsed);
|
||||
|
||||
scoreTxt.text = Ratings.CalculateRanking(songScore,songScoreDef,nps,maxNPS,accuracy);
|
||||
if (FlxG.save.data.accuracyDisplay)
|
||||
scoreTxt.text = "Score: " + songScore;
|
||||
if (FlxG.keys.justPressed.ENTER && startedCountdown && canPause)
|
||||
{
|
||||
persistentUpdate = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user