gameplay score cleanup

This commit is contained in:
Chris Danford
2008-08-16 10:39:09 +00:00
parent 3298f96224
commit 10955b39cd
11 changed files with 44 additions and 32 deletions
@@ -1 +1 @@
_terminator two 54 score
_terminator two score 26px
@@ -1 +1 @@
_terminator two 54 score
_terminator two score 26px
Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

@@ -1,25 +0,0 @@
[main]
Baseline=46
Top=0
LineSpacing=54
DrawExtraPixelsLeft=4
DrawExtraPixelsRight=4
AdvanceExtraPixels=0
[numbers]
0=36
1=36
2=36
3=36
4=36
5=36
6=36
7=36
8=36
9=36
10=36
11=36
12=36
13=36
14=36
15=36
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

@@ -0,0 +1,30 @@
[common]
Baseline=23
Top=1
LineSpacing=26
DrawExtraPixelsLeft=1
DrawExtraPixelsRight=0
AdvanceExtraPixels=0
AddToAllWidths=2
[numbers]
Line 0=0123
Line 1=4567
Line 2=89%.
Line 3= :x
0=17
1=17
2=17
3=17
4=17
5=17
6=17
7=17
8=17
9=17
10=22
11=5
12=18
13=5
14=21
@@ -0,0 +1 @@
_footer shared
@@ -4,6 +4,12 @@ function PlayerColor( pn )
return color("1,1,1,1")
end
function PlayerScoreColor( pn )
if pn == PLAYER_1 then return color("#ff6d00") end -- orange
if pn == PLAYER_2 then return color("#00ff7e") end -- sea green
return color("1,1,1,1")
end
local DifficultyDisplayTypeColors = {
DifficultyDisplayType_Single_Beginner = color("#ff32f8"),
DifficultyDisplayType_Single_Easy = color("#2cff00"),
+5 -5
View File
@@ -898,12 +898,12 @@ ScoreFrameX=SCREEN_CENTER_X
ScoreFrameY=SCREEN_BOTTOM
ScoreFrameOnCommand=vertalign,bottom;addy,100;linear,0.5;addy,-100;draworder,2
ScoreFrameOffCommand=linear,0.5;addy,100
ScoreP1X=SCREEN_CENTER_X-220
ScoreP1Y=SCREEN_CENTER_Y+214
ScoreP1X=SCREEN_CENTER_X-226
ScoreP1Y=SCREEN_CENTER_Y+200
ScoreP1OnCommand=addy,100;linear,1;addy,-100;draworder,109;
ScoreP1OffCommand=linear,1;addy,100;
ScoreP2X=SCREEN_CENTER_X+220
ScoreP2Y=SCREEN_CENTER_Y+214
ScoreP2X=SCREEN_CENTER_X+226
ScoreP2Y=SCREEN_CENTER_Y+200
ScoreP2OnCommand=addy,100;linear,1;addy,-100;draworder,109;
ScoreP2OffCommand=linear,1;addy,100;
SecondaryScoreP1X=SCREEN_CENTER_X-20
@@ -4507,7 +4507,7 @@ FrameY=0
TextX=0
TextY=0
TextOnCommand=shadowlength,0;
TextLoadCommand=%function(self,param) self:diffuse(PlayerColor(param.PlayerState:GetPlayerNumber())) end
TextLoadCommand=%function(self,param) self:diffuse(PlayerScoreColor(param.PlayerState:GetPlayerNumber())); end
[RollingNumbers]
TextFormat="%9.0f"