/new: practically 1:1 to 3.9 title menu.

+ default transitions
+ better system underlay solution
+ thanks koizu best logo ever
This commit is contained in:
Jonathan Payne
2012-07-22 22:44:39 -07:00
parent a22b359b5b
commit 280d4ecde7
4 changed files with 33 additions and 13 deletions
@@ -1,6 +1,7 @@
local t = Def.ActorFrame {}; local t = LoadFallbackB{};
t[#t+1] = StandardDecorationFromFile("Logo","Logo"); t[#t+1] = StandardDecorationFromFile("Logo","Logo");
t[#t+1] = StandardDecorationFromFile("Version","Version"); t[#t+1] = StandardDecorationFromFile("Version","Version");
t[#t+1] = StandardDecorationFromFile("NumSongs","NumSongs");
return t; return t;
@@ -6,7 +6,7 @@ return Def.ActorFrame {
Name="ScrollerItem"; Name="ScrollerItem";
Text=THEME:GetString("ScreenTitleMenu",gc:GetText()); Text=THEME:GetString("ScreenTitleMenu",gc:GetText());
InitCommand=function(self) InitCommand=function(self)
ActorUtil.LoadAllCommandsAndSetXY(self,Var "LoadingScreen"); ActorUtil.LoadAllCommands(self,Var "LoadingScreen");
end; end;
}; };
}; };
@@ -1,4 +1,4 @@
return LoadFont("Common Normal") .. { return LoadFont("Common Normal") .. {
Text=string.format("%s [%s]", ProductVersion(), VersionDate()); Text=string.format("%s", ProductVersion());
AltText="StepMania"; AltText="StepMania";
}; };
+29 -10
View File
@@ -1,37 +1,52 @@
# sm-ssc default theme | created by the spinal shark collective # sm-ssc default theme | created by the spinal shark collective
[Global] [Global]
FallbackTheme=_fallback FallbackTheme=_fallback
[ScreenSystemLayer]
# P1 Credits Text
CreditsP1X=SCREEN_LEFT+10
CreditsP1Y=SCREEN_BOTTOM-10
CreditsP1OnCommand=horizalign,left;vertalign,bottom;zoom,0.675;shadowlength,1;diffusebottomedge,PlayerColor(PLAYER_1);
# P2 Credits Text
CreditsP2OnCommand=horizalign,right;vertalign,bottom;zoom,0.675;shadowlength,1;diffusebottomedge,PlayerColor(PLAYER_2);
CreditsP2X=SCREEN_RIGHT-10
CreditsP2Y=SCREEN_BOTTOM-10
[ScreenWithMenuElements] [ScreenWithMenuElements]
# Custom underlay that is over everything else! fantastic for cool effects and depth of field or something
CustomOverlayX=SCREEN_LEFT
CustomOverlayY=SCREEN_TOP
CustomOverlayOnCommand=
CustomOverlayOffCommand=
# Header Background
ShowHeader=true ShowHeader=true
HeaderX=SCREEN_LEFT HeaderX=SCREEN_LEFT
HeaderY=SCREEN_TOP HeaderY=SCREEN_TOP
HeaderOnCommand=draworder,150; HeaderOnCommand=draworder,150;
HeaderOffCommand= HeaderOffCommand=
# # Footer Background
ShowFooter=true ShowFooter=true
FooterX=SCREEN_LEFT FooterX=SCREEN_LEFT
FooterY=SCREEN_BOTTOM FooterY=SCREEN_BOTTOM
FooterOnCommand=draworder,150; FooterOnCommand=draworder,150;
FooterOffCommand= FooterOffCommand=
# # Help text on bottom of screen
ShowHelp=true ShowHelp=true
HelpX=SCREEN_LEFT HelpX=SCREEN_LEFT
HelpY=SCREEN_BOTTOM HelpY=SCREEN_BOTTOM
HelpOnCommand=draworder,150; HelpOnCommand=draworder,150;
HelpOffCommand= HelpOffCommand=
# # The menu timer
TimerX=SCREEN_RIGHT TimerX=SCREEN_RIGHT
TimerY=SCREEN_TOP TimerY=SCREEN_TOP
TimerOnCommand=draworder,155; TimerOnCommand=draworder,155;
TimerOffCommand= TimerOffCommand=
# # Shows what stage you are on
ShowStageDisplay=true ShowStageDisplay=true
StageDisplayX=SCREEN_CENTER_X StageDisplayX=SCREEN_CENTER_X
StageDisplayY=SCREEN_TOP StageDisplayY=SCREEN_TOP
StageDisplayOnCommand=draworder,155 StageDisplayOnCommand=draworder,155
StageDisplayOffCommand= StageDisplayOffCommand=
[ScreenTitleMenu] [ScreenTitleMenu]
# Menu Items # Menu Items container,
ScrollerX=SCREEN_CENTER_X ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y*1.5 ScrollerY=SCREEN_CENTER_Y*1.5
ScrollerTransform=function(self,offset,itemIndex,numItems) \ ScrollerTransform=function(self,offset,itemIndex,numItems) \
@@ -39,21 +54,25 @@ ScrollerTransform=function(self,offset,itemIndex,numItems) \
end end
ScrollerOnCommand= ScrollerOnCommand=
ScrollerOffCommand= ScrollerOffCommand=
# # The items inside the scroller!
ScrollerItemX=0 ScrollerItemX=0
ScrollerItemY=0 ScrollerItemY=0
ScrollerItemOnCommand=finishtweening;shadowlength,2;strokecolor,Color.Black; ScrollerItemOnCommand=finishtweening;shadowlength,1;strokecolor,Color.Outline;
ScrollerItemGainFocusCommand=stoptweening;linear,0.125;diffuse,Color.Blue;zoom,1; ScrollerItemGainFocusCommand=stoptweening;linear,0.125;diffuse,Color.Blue;zoom,1;
ScrollerItemLoseFocusCommand=stoptweening;linear,0.125;diffuse,Color.White;zoom,0.5; ScrollerItemLoseFocusCommand=stoptweening;linear,0.125;diffuse,Color.White;zoom,0.5;
# Logo # Logo
LogoX=SCREEN_CENTER_X LogoX=SCREEN_CENTER_X
LogoY=SCREEN_CENTER_Y*0.75 LogoY=SCREEN_CENTER_Y*0.75
LogoOnCommand= LogoOnCommand=wag;effectmagnitude,4,0,0;
LogoOffCommand= LogoOffCommand=
# #
VersionX=SCREEN_RIGHT-24 VersionX=SCREEN_RIGHT-24
VersionY=SCREEN_TOP+24.5 VersionY=SCREEN_TOP+24.5
VersionOnCommand=shadowlength,2;horizalign,right;vertalign,top;zoom,0.5 VersionOnCommand=shadowlength,1;horizalign,right;vertalign,top;zoom,0.5625
VersionOffCommand= VersionOffCommand=
#
NumSongsX=SCREEN_LEFT+24
NumSongsY=SCREEN_TOP+24.5
NumSongsOnCommand=shadowlength,1;horizalign,left;vertalign,top;zoom,0.5625
NumSongsOffCommand=
[ScreenSelectStyle] [ScreenSelectStyle]