even more Hello World stuff

This commit is contained in:
AJ Kelly
2011-02-23 01:37:12 -06:00
parent 9c728220f3
commit 1aaea0711c
14 changed files with 88 additions and 30 deletions
@@ -60,9 +60,13 @@ return Def.ActorFrame {
InitCommand=cmd(x,SCREEN_LEFT+64;y,SCREEN_BOTTOM-48;Real);
OnCommand=cmd(addy,32;cropbottom,1;fadebottom,1;decelerate,0.8;cropbottom,0;fadebottom,0;addy,-32);
};
-- a cheap reflection effect.
LoadActor( "creativecommons" )..{
InitCommand=cmd(x,SCREEN_LEFT+64;y,SCREEN_BOTTOM-20;valign,0;zoomy,-0.6;rotationx,-40;diffusealpha,0.6;Real;);
OnCommand=cmd(addy,8;croptop,1;fadetop,0;decelerate,0.8;croptop,0;fadetop,1;addy,-8);
-- Making a cheap reflection effect for the sake of showing off the fov and
-- vanishpoint commands on ActorFrames.
Def.ActorFrame{
InitCommand=cmd(fov,45;vanishpoint,SCREEN_LEFT+64,SCREEN_BOTTOM-24;);
LoadActor( "creativecommons" )..{
InitCommand=cmd(x,SCREEN_LEFT+64;y,SCREEN_BOTTOM-24;valign,0;zoomy,-0.6;rotationx,-60;diffusealpha,0.6;Real;);
OnCommand=cmd(croptop,1;fadetop,0;decelerate,0.8;croptop,0;fadetop,1;);
};
};
};
@@ -0,0 +1 @@
ScreenWithMenuElements out
@@ -0,0 +1,6 @@
return Def.ActorFrame{
Def.Quad{
InitCommand=cmd(FullScreen;diffuse,color("#fffdf200"));
OnCommand=cmd(decelerate,0.875;diffusealpha,1);
};
}
@@ -2,15 +2,21 @@ local t = Def.ActorFrame{
Def.Quad{
InitCommand=cmd(zoomto,SCREEN_WIDTH,120;diffuse,color("#EEF4FFCC"));
};
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenGuideMain","Header");
InitCommand=cmd(x,-312;y,-48;halign,0;diffuse,color("#111111FF");diffusetopedge,color("#11111188");shadowlength,-1;shadowcolor,color("#FFFFFF44"));
};
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenGuideMain","Explanation");
InitCommand=cmd(x,-312;y,-28;align,0,0;diffuse,color("#111111FF");zoom,0.65);
Def.ActorFrame{
InitCommand=cmd(y,16);
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenGuideMain","Header");
InitCommand=cmd(x,-312;y,-50;halign,0;diffuse,color("#111111FF");diffusetopedge,color("#11111188");shadowlength,-1;shadowcolor,color("#FFFFFF44"));
};
Def.Quad{
InitCommand=cmd(zoomto,SCREEN_WIDTH*0.975,2;y,-32;diffuse,color("#111111FF");diffusetopedge,color("#11111188");shadowlength,-1;shadowcolor,color("#FFFFFF44");fadeleft,0.1;faderight,0.625);
};
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenGuideMain","Explanation");
InitCommand=cmd(x,-312;y,-24;align,0,0;diffuse,color("#111111FF");zoom,0.65;wrapwidthpixels,(SCREEN_WIDTH)*1.45);
};
};
};
@@ -13,6 +13,12 @@ local t = Def.ActorFrame{
LoseFocusCommand=cmd(stoptweening;decelerate,0.5;diffusealpha,1);
};
LoadActor( THEME:GetPathG("_section", "Guide") )..{
InitCommand=cmd(x,-250;y,-24;Real;halign,0);
GainFocusCommand=cmd(decelerate,0.5;diffusealpha,0.9);
LoseFocusCommand=cmd(stoptweening;decelerate,0.5;diffusealpha,0.45);
};
Def.ActorFrame{
LoadFont("_frutiger roman 24px")..{
Name="SectionName";
@@ -0,0 +1,23 @@
local t = Def.ActorFrame{
Def.Quad{
InitCommand=cmd(zoomto,SCREEN_WIDTH,96;diffuse,color("#EEF4FFCC"));
};
Def.ActorFrame{
InitCommand=cmd(y,12);
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenReferenceMain","Header");
InitCommand=cmd(x,-312;y,-34;halign,0;diffuse,color("#111111FF");diffusetopedge,color("#11111188");shadowlength,-1;shadowcolor,color("#FFFFFF44"));
};
Def.Quad{
InitCommand=cmd(zoomto,SCREEN_WIDTH*0.975,2;y,-20;diffuse,color("#111111FF");diffusetopedge,color("#11111188");shadowlength,-1;shadowcolor,color("#FFFFFF44");fadeleft,0.1;faderight,0.625);
};
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenReferenceMain","Explanation");
InitCommand=cmd(x,-312;y,-14;align,0,0;diffuse,color("#111111FF");zoom,0.65;wrapwidthpixels,(SCREEN_WIDTH)*1.45);
};
};
};
return t;
@@ -13,6 +13,12 @@ local t = Def.ActorFrame{
LoseFocusCommand=cmd(stoptweening;decelerate,0.5;diffusealpha,1);
};
LoadActor( THEME:GetPathG("_section", "Reference") )..{
InitCommand=cmd(x,-250;y,-24;Real;halign,0);
GainFocusCommand=cmd(decelerate,0.5;diffusealpha,0.9);
LoseFocusCommand=cmd(stoptweening;decelerate,0.5;diffusealpha,0.45);
};
Def.ActorFrame{
LoadFont("_frutiger roman 24px")..{
Name="SectionName";
@@ -27,7 +27,7 @@ local t = Def.ActorFrame{
DisabledCommand=cmd( diffuse,color("0.45,0,0,1") );
GainFocusCommand=cmd(stoptweening;accelerate,0.15;diffuse,color("#000000");strokecolor,color("0.85,0.9,1,0.75"););
LoseFocusCommand=cmd(stoptweening;accelerate,0.2;diffuse,color("#888888");strokecolor,color("0,0,0,0"););
OffFocusedCommand=cmd(sleep,1;decelerate,1;addx,-32;diffuse,color("#FF0000"));
OffFocusedCommand=cmd(sleep,1;decelerate,1;addx,-32;diffuse,color("#FF0000"););
OffUnfocusedCommand=cmd(sleep,0.2*gc:GetIndex();linear,0.5;addx,SCREEN_CENTER_X;);
};
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

+19 -16
View File
@@ -4,37 +4,40 @@ WindowTitle=Hello World (and other sm-ssc theming examples)
[ScreenTitleMenu]
Guide=Guide
Reference=Reference
Tutorial=Tutorial Series
Tutorial=Tutorials
[ScreenGuideMain]
Header=Guide
Explanation=need to write this still
Explanation=The Guide section is meant for beginners who may not know the ins and outs of the StepMania theming system. It is also useful for themers coming from earlier versions of StepMania, as some things have changed in sm-ssc.
Metrics=Metrics
MetricsDesc=Mertics
MetricsDesc=Metrics and Languages (since they're similar).
Fonts=Fonts
FontsDesc=Fnots
FontsDesc=Dealing with fonts.
Graphics=Graphics
GraphicsDesc=G-rap-hics
BGAnims=BGAnims
GraphicsDesc=The Graphics folder and what goes in there.
BGAnims=BGAnimations
BGAnimsDesc=Bee Gees animations
Sounds=Sounds
SoundsDesc=Snouds
SoundsDesc=Music and sound effects.
Scripts=Scripts
ScriptsDesc=Scrips
ScriptsDesc=Lua scripting.
Other=Other
OtherDesc=Otter
OtherDesc=Things like PreferredSort and ScreenHowToPlay/ScreenGameplaySyncMachine steps.
NoteSkins=NoteSkins
NoteSkinsDesc=NotSkins
NoteSkinsDesc=NoteSkin creation involves knowing the theming system, somewhat.
Announcers=Announcers
AnnouncersDesc=Talky guys
AnnouncersDesc=The lost art of announcers, and how to “properly” make one.
Characters=Characters
CharactersDesc=Dancy people
CharactersDesc=Three-dimensional characters dancing in Gameplay. Modeling skills not included.
[ScreenReferenceMain]
Header=Reference
Explanation=This section contains reference material. It is meant for themers who already somewhat know what they are looking for.
Screens=Screens
ScreensDesc=all da screens
Managers=Managers
ManagersDesc=stepmania was built off of the principles of DDR and Mega Man.
ScreensDesc=A reference of all of sm-ssc's available screens.
Managers=Managers and Singletons
ManagersDesc=Various things that end in "Manager" (and sometimes not).
Classes=Classes
ClassesDesc=no you don't have to go back to school!
ClassesDesc=The classes that make up some of your favorite elements.
+3
View File
@@ -165,6 +165,9 @@ Fallback="ScreenSelectMaster"
PrevScreen="ScreenTitleMenu"
AllowRepeatingInput=true
# modifying header position
HeaderY=SCREEN_TOP+72
ChoiceNames="Screens,Managers,Classes"
ChoiceScreens="name,Screens"
ChoiceManagers="name,Managers"