updates to Hello World

This commit is contained in:
AJ Kelly
2011-09-10 12:13:41 -05:00
parent fc0ee6543b
commit d1c9a9d7f1
7 changed files with 92 additions and 8 deletions
@@ -0,0 +1 @@
ScreenWithMenuElements background
@@ -57,7 +57,7 @@ return Def.ActorFrame {
-- Creative Commons logo, using a local file in the same directory:
LoadActor( "creativecommons" )..{
InitCommand=cmd(x,SCREEN_LEFT+64;y,SCREEN_BOTTOM-48;Real);
InitCommand=cmd(x,SCREEN_LEFT+64;y,SCREEN_BOTTOM-43;Real);
OnCommand=cmd(addy,32;cropbottom,1;fadebottom,1;decelerate,0.8;cropbottom,0;fadebottom,0;addy,-32);
};
-- Making a cheap reflection effect for the sake of showing off the fov and
@@ -15,7 +15,7 @@ local t = Def.ActorFrame{
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);
InitCommand=cmd(x,-312;y,-14;align,0,0;diffuse,color("#111111FF");zoom,0.65;wrapwidthpixels,(SCREEN_WIDTH));
};
};
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 991 B

+3 -3
View File
@@ -1,5 +1,5 @@
[Common]
WindowTitle=Hello World (and other sm-ssc theming examples)
WindowTitle=Hello World (and other StepMania 5 theming examples)
[ScreenTitleMenu]
Guide=Guide
@@ -8,7 +8,7 @@ Tutorial=Tutorials
[ScreenGuideMain]
Header=Guide
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.
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 StepMania 5.
Metrics=Metrics
MetricsDesc=Metrics and Languages (since they're similar).
@@ -36,7 +36,7 @@ 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=A reference of all of sm-ssc's available screens.
ScreensDesc=A reference of all of StepMania 5's available screens.
Managers=Managers and Singletons
ManagersDesc=Various things that end in "Manager" (and sometimes not).
Classes=Classes
+20 -1
View File
@@ -109,10 +109,13 @@ ScrollerTransform=function(self,offset,itemIndex,numItems) self:y((itemIndex-(nu
[GuideBase]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen="ScreenGuideMain"
## Metrics
[GuideMetrics]
Fallback="GuideBase"
### Metrics
### Languages
## Fonts
[GuideFonts]
@@ -188,6 +191,7 @@ ScrollerTransform=function(self,offset,itemIndex,numItems) self:y((itemIndex-(nu
[ReferenceBase]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen="ScreenReferenceMain"
## Screens
[ReferenceScreens]
@@ -272,10 +276,25 @@ Fallback="ReferenceBase"
### Trail
[ReferenceTrail]
### and a ton of missing stuff
### and a ton of other missing stuff
################################################################################
# [tutor] Tutorials are guides to implementing specific things #
# All tutorial pages aside from ScreenTutorialMain MUST be prefixed with "Tutorial"
# in order to differentiate them from the core screens.
[ScreenTutorialMain]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen="ScreenTitleMenu"
AllowRepeatingInput=true
# modifying header position
HeaderY=SCREEN_TOP+72
# todo: figure out what tutorials
# tutorial base screen (you know the drill by now -aj) #
[TutorialBase]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen="ScreenTutorialMain"
+65 -1
View File
@@ -35,7 +35,7 @@ Table of Contents
================================================================================
Introduction [intro]
Hello, and welcome to Hello World (and other sm-ssc theming examples).
Welcome to Hello World (and other sm-ssc theming examples).
This theme and accompanying documentation are provided for people new to
theming for StepMania, using sm-ssc as a base.
@@ -47,6 +47,70 @@ sm-ssc theming.
The Guide is a general run-through of how Themes are constructed (along with
NoteSkins, Announcers, and Characters)
================================================================================
Guide [guide]
This section covers the basics of theming for StepMania.
--------------------------------------------------------------------------------
Metrics and Languages [g_met]
Both the metrics and languages use the .ini format, so they're being lumped
together. If you're not familiar with an .ini file, here's the basics:
# comment
[Section]
Key=Value
This is simple enough for the languages, but the metrics require some more
knowledge to work with.
--------------------------------------------------------------------------------
Fonts [g_fon]
--------------------------------------------------------------------------------
Graphics [g_gfx]
--------------------------------------------------------------------------------
BGAnimations [g_bga]
BGAnimations are the heart of any theme. Ever since late 2007, they've been
created using Lua.
--------------------------------------------------------------------------------
Sounds [g_sfx]
--------------------------------------------------------------------------------
Scripts [g_scr]
Though Lua scripting has been available in StepMania since 2006, the current
iteration is a lot more powerful than before. This is mainly due to the
additional bindings added during sm-ssc (carried over to SM5).
--------------------------------------------------------------------------------
Other [g_oth]
Ever wonder what all those files in the Other folder are for?
--------------------------------------------------------------------------------
NoteSkins [g_not]
jousway is probably gonna have to work on this.
--------------------------------------------------------------------------------
Announcers [g_ann]
Announcers are somewhat of a lost art.
--------------------------------------------------------------------------------
Characters [g_cha]
This guide won't teach you how to model or animate, sorry.
================================================================================
Reference [ref]
This section contains a reference of various elements in StepMania.
For a reference of Lua bindings, check http://kki.ajworld.net/lua/sm5/Lua.xml
================================================================================
Contributors [creds]