DONE! All lua is future-proofed.
This commit is contained in:
@@ -2,8 +2,13 @@ return Def.ActorFrame {
|
||||
LoadFont("Common Normal") .. {
|
||||
Text=GetTimingDifficulty();
|
||||
AltText="";
|
||||
InitCommand=cmd(horizalign,left;zoom,0.675);
|
||||
OnCommand=cmd(shadowlength,1);
|
||||
InitCommand=function(self)
|
||||
self:horizalign(left);
|
||||
self:zoom(0.675);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:shadowlength(1);
|
||||
end;
|
||||
BeginCommand=function(self)
|
||||
self:settextf( Screen.String("TimingDifficulty"), "" );
|
||||
end
|
||||
@@ -11,12 +16,18 @@ return Def.ActorFrame {
|
||||
LoadFont("Common Normal") .. {
|
||||
Text=GetTimingDifficulty();
|
||||
AltText="";
|
||||
InitCommand=cmd(x,136;zoom,0.675;halign,0);
|
||||
InitCommand=function(self)
|
||||
self:x(136);
|
||||
self:zoom(0.675);
|
||||
self:halign(0);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
(cmd(shadowlength,1;skewx,-0.125))(self);
|
||||
self:shadowlength(1);
|
||||
self:skewx(-0.125);
|
||||
if GetTimingDifficulty() == 9 then
|
||||
self:settext("Justice");
|
||||
(cmd(zoom,0.5;diffuse,ColorLightTone( Color("Orange")) ))(self);
|
||||
self:zoom(0.5);
|
||||
self:diffuse(ColorLightTone( Color("Orange")) );
|
||||
else
|
||||
self:settext( GetTimingDifficulty() );
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user