Commas For Story Mode Score
This commit is contained in:
@@ -9,6 +9,7 @@ import flixel.tweens.FlxTween;
|
||||
import flixel.math.FlxMath;
|
||||
import flixel.util.FlxColor;
|
||||
import flixel.util.FlxTimer;
|
||||
import flixel.util.FlxStringUtil;
|
||||
import funkin.audio.FunkinSound;
|
||||
import funkin.data.story.level.LevelRegistry;
|
||||
import funkin.data.song.SongRegistry;
|
||||
@@ -324,7 +325,8 @@ class StoryMenuState extends MusicBeatState
|
||||
|
||||
highScoreLerp = Std.int(MathUtil.snap(MathUtil.smoothLerpPrecision(highScoreLerp, highScore, elapsed, 0.307), highScore, 1));
|
||||
|
||||
scoreText.text = 'LEVEL SCORE: ${Math.round(highScoreLerp)}';
|
||||
var commaSeparated:Bool = true;
|
||||
scoreText.text = 'LEVEL SCORE: ${FlxStringUtil.formatMoney(highScoreLerp, false, commaSeparated)}';
|
||||
|
||||
levelTitleText.text = currentLevel.getTitle();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user