some more defualt theme changes from midi

This commit is contained in:
AJ Kelly
2010-05-30 18:43:35 -05:00
parent f79d6fb365
commit 9a29217752
2 changed files with 79 additions and 67 deletions
@@ -1,72 +1,82 @@
return Def.StepsDisplayList { return Def.ActorFrame {
Name="StepsDisplayListRow"; Def.Quad {
CurrentSongChangedMessageCommand=function(self) InitCommand=cmd(y,-14;zoomto,164,2;fadeleft,8/164;faderight,8/164);
local song = GAMESTATE:GetCurrentSong(); OnCommand=cmd(diffuse,Color("Black");diffusealpha,0;linear,0.35;diffusealpha,0.5);
if song and self:GetZoomX() == 0 then };
self:playcommand("Show"); Def.Quad {
elseif not song and self:GetZoomX() == 1 then InitCommand=cmd(y,24*8-10;zoomto,164,2;fadeleft,8/164;faderight,8/164);
self:playcommand("Hide"); OnCommand=cmd(diffuse,Color("Black");diffusealpha,0;linear,0.35;diffusealpha,0.5);
};
Def.StepsDisplayList {
Name="StepsDisplayListRow";
CurrentSongChangedMessageCommand=function(self)
local song = GAMESTATE:GetCurrentSong();
if song and self:GetZoomX() == 0 then
self:playcommand("Show");
elseif not song and self:GetZoomX() == 1 then
self:playcommand("Hide");
end;
end; end;
end;
CursorP1 = Def.ActorFrame { CursorP1 = Def.ActorFrame {
InitCommand=cmd(x,-128+16;player,PLAYER_1); InitCommand=cmd(x,-128+16;player,PLAYER_1);
PlayerJoinedMessageCommand=function(self, params) PlayerJoinedMessageCommand=function(self, params)
if params.Player == PLAYER_1 then if params.Player == PLAYER_1 then
self:visible(true); self:visible(true);
(cmd(zoom,0;bounceend,0.3;zoom,1))(self); (cmd(zoom,0;bounceend,0.3;zoom,1))(self);
end;
end; end;
end; PlayerUnjoinedMessageCommand=function(self, params)
PlayerUnjoinedMessageCommand=function(self, params) if params.Player == PLAYER_1 then
if params.Player == PLAYER_1 then self:visible(true);
self:visible(true); (cmd(bouncebegin,0.3;zoom,0))(self);
(cmd(bouncebegin,0.3;zoom,0))(self); end;
end; end;
end; LoadActor(THEME:GetPathG("_StepsDisplayListRow","Cursor")) .. {
LoadActor(THEME:GetPathG("_StepsDisplayListRow","Cursor")) .. { InitCommand=cmd(diffuse,PlayerColor(PLAYER_1);x,8;zoom,0.75);
InitCommand=cmd(diffuse,PlayerColor(PLAYER_1);x,8;zoom,0.75); };
LoadActor(THEME:GetPathG("_StepsDisplayListRow","arrow")) .. {
InitCommand=cmd(x,20;diffuse,PlayerColor(PLAYER_1));
OnCommand=cmd(thump,1;effectmagnitude,1,1.25,1;effectclock,'beat';);
};
LoadFont("Common Normal") .. {
Text="P1";
InitCommand=cmd(x,2;diffuse,PlayerColor(PLAYER_1);shadowlength,1);
OnCommand=cmd(zoom,0.75);
};
}; };
LoadActor(THEME:GetPathG("_StepsDisplayListRow","arrow")) .. { CursorP2 = Def.ActorFrame {
InitCommand=cmd(x,20;diffuse,PlayerColor(PLAYER_1)); InitCommand=cmd(x,128-16;player,PLAYER_2);
OnCommand=cmd(thump,1;effectmagnitude,1,1.25,1;effectclock,'beat';); PlayerJoinedMessageCommand=function(self, params)
}; if params.Player == PLAYER_2 then
LoadFont("Common Normal") .. { self:visible(true);
Text="P1"; (cmd(zoom,0;bounceend,0.3;zoom,1))(self);
InitCommand=cmd(x,2;diffuse,PlayerColor(PLAYER_1);shadowlength,1); end;
OnCommand=cmd(zoom,0.75);
};
};
CursorP2 = Def.ActorFrame {
InitCommand=cmd(x,128-16;player,PLAYER_2);
PlayerJoinedMessageCommand=function(self, params)
if params.Player == PLAYER_2 then
self:visible(true);
(cmd(zoom,0;bounceend,0.3;zoom,1))(self);
end; end;
end; PlayerUnjoinedMessageCommand=function(self, params)
PlayerUnjoinedMessageCommand=function(self, params) if params.Player == PLAYER_2 then
if params.Player == PLAYER_2 then self:visible(true);
self:visible(true); (cmd(bouncebegin,0.3;zoom,0))(self);
(cmd(bouncebegin,0.3;zoom,0))(self); end;
end; end;
end; LoadActor(THEME:GetPathG("_StepsDisplayListRow","Cursor")) .. {
LoadActor(THEME:GetPathG("_StepsDisplayListRow","Cursor")) .. { InitCommand=cmd(diffuse,PlayerColor(PLAYER_2);x,-8;zoom,0.75;zoomx,-0.75;);
InitCommand=cmd(diffuse,PlayerColor(PLAYER_2);x,-8;zoom,0.75;zoomx,-0.75;); };
LoadActor(THEME:GetPathG("_StepsDisplayListRow","arrow")) .. {
InitCommand=cmd(x,-20;diffuse,PlayerColor(PLAYER_2);zoomx,-1);
OnCommand=cmd(thump,1;effectmagnitude,1,1.25,1;effectclock,'beat';);
};
LoadFont("Common Normal") .. {
Text="P2";
InitCommand=cmd(x,-2;diffuse,PlayerColor(PLAYER_2);shadowlength,1);
OnCommand=cmd(zoom,0.75);
};
}; };
LoadActor(THEME:GetPathG("_StepsDisplayListRow","arrow")) .. { CursorP1Frame = Def.Actor{
InitCommand=cmd(x,-20;diffuse,PlayerColor(PLAYER_2);zoomx,-1); ChangeCommand=cmd(stoptweening;decelerate,0.125);
OnCommand=cmd(thump,1;effectmagnitude,1,1.25,1;effectclock,'beat';);
}; };
LoadFont("Common Normal") .. { CursorP2Frame = Def.Actor{
Text="P2"; ChangeCommand=cmd(stoptweening;decelerate,0.125);
InitCommand=cmd(x,-2;diffuse,PlayerColor(PLAYER_2);shadowlength,1);
OnCommand=cmd(zoom,0.75);
}; };
}; };
CursorP1Frame = Def.Actor{
ChangeCommand=cmd(stoptweening;decelerate,0.125);
};
CursorP2Frame = Def.Actor{
ChangeCommand=cmd(stoptweening;decelerate,0.125);
};
}; };
+9 -7
View File
@@ -43,7 +43,7 @@ NumberMaxZoomAt=100
LabelMinZoom=0.75*0.75 LabelMinZoom=0.75*0.75
LabelMaxZoom=0.75*1 LabelMaxZoom=0.75*1
PulseCommand=%function(self,param) self:stoptweening(); self:zoom(1.125*param.Zoom); self:linear(0.05); self:zoom(param.Zoom); end PulseCommand=%function(self,param) self:stoptweening(); self:linear(0.05); self:zoom(1.125*param.Zoom); self:linear(0.05); self:zoom(param.Zoom); end
PulseLabelCommand=%function(self,param) self:stoptweening(); self:zoom(1.075*param.LabelZoom); self:linear(0.05); self:zoom(param.LabelZoom); end PulseLabelCommand=%function(self,param) self:stoptweening(); self:zoom(1.075*param.LabelZoom); self:linear(0.05); self:zoom(param.LabelZoom); end
NumberOnCommand=y,240-216-1.5;shadowlength,1;horizalign,right;vertalign,bottom;skewx,-0.125; NumberOnCommand=y,240-216-1.5;shadowlength,1;horizalign,right;vertalign,bottom;skewx,-0.125;
LabelOnCommand=x,6;y,22.5;shadowlength,1;zoom,0.75;diffusebottomedge,color("0.75,0.75,0.75,1");horizalign,left;vertalign,bottom LabelOnCommand=x,6;y,22.5;shadowlength,1;zoom,0.75;diffusebottomedge,color("0.75,0.75,0.75,1");horizalign,left;vertalign,bottom
@@ -462,8 +462,9 @@ Fallback="StepsDisplay"
[StepsDisplayListRow] [StepsDisplayListRow]
# #
CapitalizeDifficultyNames=false
ItemsSpacingY=12 NumShownItems=8
ItemsSpacingY=24
MoveCommand=decelerate,0.3 MoveCommand=decelerate,0.3
# #
FrameX= FrameX=
@@ -588,7 +589,8 @@ ShowHeader=false
ShowFooter=false ShowFooter=false
[ScreenOptions] [ScreenOptions]
PageOnCommand=zoomy,0;bounceend,0.35;zoomy,1 ContainerOnCommand=x,-SCREEN_WIDTH;decelerate,0.35;x,SCREEN_LEFT
# PageOnCommand=fadetop,0.125;fadebottom,0.125;cropbottom,0.5;croptop,0.5;decelerate,0.25;croptop,0;cropbottom,0;fadetop,0;fadebottom,0;
CursorOnCommand= CursorOnCommand=
LineHighlightOnCommand=cropleft,0.1;cropright,0.1;zoomx,1.3;fadeleft,0.25;faderight,0.25;diffuseramp;effectcolor2,color("1,1,1,0.5");effectcolor1,color("1,1,1,0.25");effectclock,'beat' LineHighlightOnCommand=cropleft,0.1;cropright,0.1;zoomx,1.3;fadeleft,0.25;faderight,0.25;diffuseramp;effectcolor2,color("1,1,1,0.5");effectcolor1,color("1,1,1,0.25");effectclock,'beat'
@@ -977,9 +979,9 @@ ShowNewSong=not GAMESTATE:IsCourseMode()
NewSongX=SCREEN_CENTER_X-160+128 NewSongX=SCREEN_CENTER_X-160+128
NewSongY=SCREEN_TOP+160 NewSongY=SCREEN_TOP+160
NewSongOnCommand=diffuse,Color("Orange");diffusetopedge,Color("Yellow");strokecolor,Color("Outline");zoom,0.75;skewx,-0.125;rotationz,-11.25/2;draworder,106; NewSongOnCommand=diffuse,Color("Orange");diffusetopedge,Color("Yellow");strokecolor,Color("Outline");zoom,0.75;skewx,-0.125;rotationz,-11.25/2;draworder,106;
NewSongOffCommand=accelerate,0.35;addy,-SCREEN_CENTER_Y; NewSongOffCommand=accelerate,0.35*0.5;zoom,0.5;diffusealpha,0
NewSongShowCommand=stoptweening;decelerate,0.125;diffusealpha,1;zoomy,0.75;thump,2;effectclock,'bgm';effectmagnitude,1,1,1;effectcolor1,color("1,1,1");effectcolor2,color("1,1.25,1"); NewSongShowCommand=finishtweening;decelerate,0.125;diffusealpha,1;zoomy,0.75;thump,2;effectclock,'bgm';effectmagnitude,1,1,1;effectcolor1,color("1,1,1");effectcolor2,color("1,1.25,1");
NewSongHideCommand=stoptweening;accelerate,0.075;diffusealpha,0;zoomy,0.75*1.5;stopeffect; NewSongHideCommand=finishtweening;accelerate,0.075;diffusealpha,0;zoomy,0.75*1.5;stopeffect;
# #
ShowSongTime=true ShowSongTime=true
SongTimeX=SCREEN_CENTER_X-160 SongTimeX=SCREEN_CENTER_X-160