fix too large combo numbers, fix goofy percent score formatting

This commit is contained in:
Chris Danford
2009-04-03 19:56:06 +00:00
parent 9ef9203b95
commit 2a4f8d956a
2 changed files with 7 additions and 6 deletions
@@ -53,9 +53,10 @@ if ShowStandardDecoration("ItsARecord") then
local pSteps = GAMESTATE:GetCurrentSteps(pn);
local hsl = PROFILEMAN:GetMachineProfile():GetHighScoreList(pSongOrCourse,pSteps);
local hsName = hsl:GetHighScores()[1]:GetName();
local hsPerc = math.floor( hsl:GetHighScores()[1]:GetPercentDP() * 10000 ) / 100;
--hsl:GetHighScores()[1]:GetName GetScore GetPercentDP
local hs = hsl:GetHighScores()[1]
local hsName = hs:GetName();
local hsPerc = FormatPercentScore( hs:GetPercentDP() );
if index == 0 then
self:GetChild("Record"):visible( true );
self:GetChild("NoRecord"):visible( false );
+3 -3
View File
@@ -2319,9 +2319,9 @@ HoldJudgmentHeldCommand=shadowlength,0;diffusealpha,1;zoom,1.25;linear,0.3;zoomx
ShowComboAt=2
LabelOnCommand=x,SCREEN_CENTER_X-314;y,SCREEN_CENTER_Y-220;shadowlength,0;horizalign,left;vertalign,bottom
NumberOnCommand=y,SCREEN_CENTER_Y-216;shadowlength,0;horizalign,right;vertalign,bottom
NumberMinZoom=0.5
NumberMaxZoom=0.8
NumberMaxZoomAt=200
NumberMinZoom=0.4
NumberMaxZoom=0.6
NumberMaxZoomAt=150
PulseCommand=%function(self,param) self:stoptweening(); self:zoom(1.2*param.Zoom); self:linear(0.05); self:zoom(param.Zoom); end
[Player]