Files
itgmania212121/Themes/default/Graphics/ScreenTitleMenu TimingDifficulty.lua
T

42 lines
1.6 KiB
Lua
Raw Normal View History

2010-07-12 16:08:14 -05:00
return Def.ActorFrame {
2010-07-14 00:02:57 -05:00
--[[ LoadActor(THEME:GetPathG("ScreenTitleMenu","PreferenceFrame")) .. {
2010-07-12 16:08:14 -05:00
OnCommand=function(self)
if GetTimingDifficulty() == 7 then
(cmd(glowshift;diffuse,Color("Yellow");diffuserightedge,Color("Red");effectcolor1,Colors.Alpha( Color("Red"), 0.5 );effectcolor2,Color("Invisible");effectperiod,1.25/2))(self);
elseif GetTimingDifficulty() < 4 then
(cmd(diffuseshift;effectcolor1,Color("Blue");effectcolor2,ColorDarkTone(Color("Blue"));effectperiod,1.25))(self);
elseif GetTimingDifficulty() > 4 and GetTimingDifficulty < 6 then
(cmd(diffuseshift;effectcolor1,Color("Red");effectcolor2,ColorDarkTone(Color("Red"));effectperiod,1.25))(self);
else
(cmd(diffuse,Color("Orange");diffusetopedge,Color("Yellow")))(self);
end;
end;
2010-07-14 00:02:57 -05:00
}; --]]
2010-09-04 11:32:26 -05:00
-- LoadActor(THEME:GetPathG("OptionRowExit","frame"));
LoadActor(THEME:GetPathG("_icon","Timing")) .. {
InitCommand=cmd(x,-60;shadowlength,1);
};
2010-07-12 16:08:14 -05:00
LoadFont("Common Normal") .. {
Text=GetTimingDifficulty();
AltText="";
2010-09-04 11:32:26 -05:00
InitCommand=cmd(x,-72+28;horizalign,left;zoom,0.5);
2010-07-12 16:08:14 -05:00
OnCommand=cmd(shadowlength,1);
BeginCommand=function(self)
self:settextf( Screen.String("TimingDifficulty"), "" );
end
};
LoadFont("Common Normal") .. {
Text=GetTimingDifficulty();
AltText="";
2010-09-04 11:32:26 -05:00
InitCommand=cmd(x,72*0.75+8;zoom,0.875);
2010-07-12 16:08:14 -05:00
OnCommand=function(self)
(cmd(shadowlength,1;skewx,-0.125))(self);
if GetTimingDifficulty() == 9 then
2010-07-12 16:08:14 -05:00
self:settext("Justice");
(cmd(zoom,0.5;diffuse,ColorLightTone( Color("Orange")) ))(self);
else
self:settext( GetTimingDifficulty() );
end
end;
};
};