fix score

This commit is contained in:
Kade M 2021-06-05 10:52:56 -07:00
parent 39d52b9e0b
commit 9956c74e68
2 changed files with 5 additions and 1 deletions

View File

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

View File

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