various theme things
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
return Def.CourseContentsList {
|
||||
MaxSongs = 4;
|
||||
NumItemsToDraw = 8; -- Doesn't scroll anymore.
|
||||
NumItemsToDraw = 8; -- xxx: Doesn't scroll anymore.
|
||||
--[[ InitCommand=cmd(x,SCREEN_CENTER_X+160;y,SCREEN_CENTER_Y+91);
|
||||
OnCommand=cmd(zoomy,0;bounceend,0.3;zoom,1);
|
||||
OffCommand=cmd(zoomy,1;bouncebegin,0.3;zoomy,0); --]]
|
||||
@@ -9,15 +9,15 @@ return Def.CourseContentsList {
|
||||
SetCommand=function(self)
|
||||
self:SetFromGameState();
|
||||
self:SetCurrentAndDestinationItem(0);
|
||||
self:SetLoop(false);
|
||||
self:SetMask(270,44);
|
||||
self:SetLoop(false);
|
||||
self:SetMask(270,44);
|
||||
end;
|
||||
CurrentTrailP1ChangedMessageCommand=cmd(playcommand,"Set");
|
||||
CurrentTrailP2ChangedMessageCommand=cmd(playcommand,"Set");
|
||||
|
||||
Display = Def.ActorFrame {
|
||||
InitCommand=cmd(setsize,270,44);
|
||||
|
||||
|
||||
LoadActor(THEME:GetPathG("CourseEntryDisplay","bar")) .. {
|
||||
SetSongCommand=function(self, params)
|
||||
if params.Song then
|
||||
@@ -27,7 +27,7 @@ return Def.CourseContentsList {
|
||||
self:diffuse( color("#FFFFFF") );
|
||||
self:diffuseleftedge( Colors.CourseDifficultyColors[params.Difficulty] );
|
||||
end
|
||||
|
||||
|
||||
(cmd(finishtweening;diffusealpha,0;sleep,0.125*params.Number;linear,0.125;diffusealpha,1;linear,0.05;glow,color("1,1,1,0.5");decelerate,0.1;glow,color("1,1,1,0")))(self);
|
||||
end;
|
||||
};
|
||||
@@ -53,7 +53,7 @@ return Def.CourseContentsList {
|
||||
InitCommand=cmd(x,-114-8;y,-12;shadowlength,1);
|
||||
SetSongCommand=function(self, params)
|
||||
self:settext(string.format("#%i", params.Number));
|
||||
|
||||
|
||||
(cmd(finishtweening;zoom,0.5;zoomy,0.5*1.5;diffusealpha,0;sleep,0.125*params.Number;linear,0.125;diffusealpha,1;linear,0.05;zoomy,0.5*1;zoomx,0.5*1.1;glow,color("1,1,1,0.5");decelerate,0.1;zoom,0.5;glow,color("1,1,1,0")))(self);
|
||||
end;
|
||||
};
|
||||
@@ -81,6 +81,5 @@ return Def.CourseContentsList {
|
||||
SetSongCommand=function(self, params) self:settext(params.Modifiers); end;
|
||||
}; --]]
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user