how tf did they get here
This commit is contained in:
parent
5d7e6811b0
commit
2acf1719c2
@ -975,8 +975,6 @@ class PlayState extends MusicBeatState
|
|||||||
scoreTxt = new FlxText(FlxG.width / 2 - 235, healthBarBG.y + 50, 0, "", 20);
|
scoreTxt = new FlxText(FlxG.width / 2 - 235, healthBarBG.y + 50, 0, "", 20);
|
||||||
if (!FlxG.save.data.accuracyDisplay)
|
if (!FlxG.save.data.accuracyDisplay)
|
||||||
scoreTxt.x = healthBarBG.x + healthBarBG.width / 2;
|
scoreTxt.x = healthBarBG.x + healthBarBG.width / 2;
|
||||||
if (FlxG.save.data.healthDisplay)
|
|
||||||
scoreTxt.x += -120;
|
|
||||||
scoreTxt.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, CENTER, FlxTextBorderStyle.OUTLINE,FlxColor.BLACK);
|
scoreTxt.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, CENTER, FlxTextBorderStyle.OUTLINE,FlxColor.BLACK);
|
||||||
scoreTxt.scrollFactor.set();
|
scoreTxt.scrollFactor.set();
|
||||||
if (offsetTesting)
|
if (offsetTesting)
|
||||||
@ -1853,9 +1851,9 @@ class PlayState extends MusicBeatState
|
|||||||
|
|
||||||
super.update(elapsed);
|
super.update(elapsed);
|
||||||
|
|
||||||
var healthInt:Int = Std.int(health * 50);
|
scoreTxt.text = Ratings.CalculateRanking(songScore,songScoreDef,nps,maxNPS,accuracy);
|
||||||
|
if (!FlxG.save.data.accuracyDisplay)
|
||||||
scoreTxt.text = Ratings.CalculateRanking(songScore,songScoreDef,nps,maxNPS,healthInt,accuracy);
|
scoreTxt.text = "Score: " + songScore;
|
||||||
|
|
||||||
if (FlxG.keys.justPressed.ENTER && startedCountdown && canPause)
|
if (FlxG.keys.justPressed.ENTER && startedCountdown && canPause)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user