gameplay cleanup

This commit is contained in:
Chris Danford
2008-03-28 16:31:14 +00:00
parent a62145d3d3
commit 78448d207e
9 changed files with 32 additions and 23 deletions

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

@@ -1,17 +1,17 @@
local t = Def.ActorFrame {
LoadActor("_warning") .. {
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;
vertalign,top;
wag;effectmagnitude,0,0,10;effectperiod,2;
);
OnCommand=cmd(diffusealpha,0);
ShowDangerAllMessageCommand=cmd(stoptweening;accelerate,0.3;diffusealpha,1);
HideDangerAllMessageCommand=cmd(stoptweening;accelerate,0.3;diffusealpha,0);
};
LoadActor( THEME:GetPathB('','_standard decoration'), "LifeFrame", "LifeFrame" );
LoadActor( THEME:GetPathB('','_standard decoration'), "ScoreFrame", "ScoreFrame" );
LoadActor( THEME:GetPathB('','_standard decoration'), "StageFrame", "StageFrame" );
};
return t;
local t = Def.ActorFrame {
LoadActor("_warning") .. {
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;
vertalign,top;
wag;effectmagnitude,0,0,10;effectperiod,2;
);
OnCommand=cmd(diffusealpha,0);
ShowDangerAllMessageCommand=cmd(stoptweening;accelerate,0.3;diffusealpha,1);
HideDangerAllMessageCommand=cmd(stoptweening;accelerate,0.3;diffusealpha,0);
};
LoadActor( THEME:GetPathB('','_standard decoration'), "LifeFrame", "LifeFrame" );
LoadActor( THEME:GetPathB('','_standard decoration'), "ScoreFrame", "ScoreFrame" );
--LoadActor( THEME:GetPathB('','_standard decoration'), "StageFrame", "StageFrame" );
};
return t;

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -1,2 +0,0 @@
return Def.ActorFrame {
};
@@ -5,6 +5,7 @@ LineSpacing=29
DrawExtraPixelsLeft=2
DrawExtraPixelsRight=0
AdvanceExtraPixels=0
DefaultStrokeColor=#FFFFFF00
0=0
1=0
2=0
@@ -39,6 +39,11 @@ function DifficultyDisplayTypeToDarkColor( ddt )
return { c[1]/2, c[2]/2, c[3]/2, c[4] };
end
function DifficultyDisplayTypeToLightColor( ddt )
local c = DifficultyDisplayTypeToColor(ddt);
return { scale(c[1],0,1,0.5,1), scale(c[2],0,1,0.5,1), scale(c[3],0,1,0.5,1), c[4] };
end
function CourseDifficutlyToColor( cd )
local c = CourseDifficultyColors[cd]
if c then return c end
+8 -4
View File
@@ -964,7 +964,7 @@ SongNumberP2OffCommand=linear,0.5;addy,-100
ShowScoreInRave=true
ScoreFrameX=SCREEN_CENTER_X
ScoreFrameY=SCREEN_BOTTOM
ScoreFrameOnCommand=vertalign,bottom;addy,100;linear,0.5;addy,-100
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
@@ -1978,12 +1978,12 @@ ZeroMeterString="?"
MeterX=30
MeterY=0
MeterOnCommand=shadowlength,0;zoom,0.5
MeterSetCommand=%function(self,param) if param.Difficulty then self:diffuse(DifficultyDisplayTypeToColor(param.DifficultyDisplayType)); self:strokecolor(DifficultyDisplayTypeToDarkColor(param.DifficultyDisplayType)); end end
MeterSetCommand=%function(self,param) if param.Difficulty then self:diffuse(DifficultyDisplayTypeToLightColor(param.DifficultyDisplayType)); self:strokecolor(DifficultyDisplayTypeToDarkColor(param.DifficultyDisplayType)); end end
ShowDescription=true
DescriptionX=-10
DescriptionY=0
DescriptionOnCommand=zoom,0.5;shadowlength,0;uppercase,true;
DescriptionSetCommand=%function(self,param) if param.Difficulty then self:diffuse(DifficultyDisplayTypeToColor(param.DifficultyDisplayType)); self:strokecolor(DifficultyDisplayTypeToDarkColor(param.DifficultyDisplayType)); end end
DescriptionSetCommand=%function(self,param) if param.Difficulty then self:diffuse(DifficultyDisplayTypeToLightColor(param.DifficultyDisplayType)); self:strokecolor(DifficultyDisplayTypeToDarkColor(param.DifficultyDisplayType)); end end
ShowAutogen=true
AutogenX=0
AutogenY=0
@@ -4424,4 +4424,8 @@ 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(PlayerColor(param.PlayerState:GetPlayerNumber())) end
[RollingNumbers]
TextFormat="%9.0f"
ApproachSeconds=0.2