Here is a sample of the scripting language the game uses. Spaces outside of speech marks are ignored, and all commands are case insensitive.
#Basic Arena Setup#
Set Name ( "Test Arena" )
Set World Attributes ( -768, 768, -512, 512, 0, 200 )
#Main Platform#
Add Solid Rectangle ( 1536, 64, 0, 0, 4, 0.0, 0.0, 0.9, "Test/PlatformBase.PNG" )
Add Rectangle ( 1536, 16, 0, 40, 4, "Test/PlatformBottom.PNG" )
Add Rectangle ( 1536, 32, 0, -32, 2, "Test/PlatformLid.PNG" )
#Side Platform#
Add Solid Rectangle ( 256, 64, 256, -128, 4, 0.0, 0.0, 0.9, "Test/PlatformBase.PNG" )
Add Rectangle ( 256, 16, 256, -88, 4, "Test/PlatformBottom.PNG" )
Add Rectangle ( 256, 32, 256, -160, 2, "Test/PlatformLid.PNG" )
#Crate stack#
Add Solid Rectangle ( 32, 32, 0, -48, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -32, -48, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, 32, -48, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -16, -80, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, 16, -80, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, 0, -112, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
#Crate Tower#
Add Solid Rectangle ( 32, 32, -384, -48, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -80, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -112, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -144, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -176, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -208, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -240, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -272, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -304, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
Add Solid Rectangle ( 32, 32, -384, -512, 1, 0.25, 0.005, 0.55, "Test/Crate.PNG" )
#Start Points#
Add Start Point ( 0, -512 )
Add Start Point ( -32, -512 )
This sample generates the level shown in the screenshot. It is clever enough not to load the same image more than once.
And here is a sample, which generates NeX.
#Menu Setup#
Set Name ( "NeX" )
Load Icon ( "NeX/Icon.PNG" )
#Sprite Setup#
Load Image ( "NeX/Sprite.PNG", 8 )
Offset Sprite ( 0, 8 )
Set Idle Frames ( 0, 4, 125, "NULL", "NULL")
Set Run Frames ( 4, 4, 80, "Shared/Sounds/Footstep0.WAV", "Shared/Sounds/Footstep1.WAV" )
Set Pain Frames ( 8, 1, 0, "NeX/Pain0.WAV", "NeX/Pain1.WAV" )
Set Knockback Frames ( 9, 1, 0, "NeX/Knockback0.WAV", "NeX/Knockback1.WAV" )
Set Fly Up Frames (10,2, 75, "NULL", "NULL")
Set Fall Frames (12, 2, 75, "NULL", "NULL")
Set Hard Landing Frames (14, 3, 125, "NeX/LandHard0.WAV", "NeX/LandHard1.WAV" )
Set Defend Frames (17, 2, 50, "Shared/Sounds/ShieldUp.WAV", "Shared/Sounds/ShieldLoop.WAV" )
Set UnDefend Frames (19, 2, 50, "Shared/Sounds/ShieldDown.WAV", "Shared/Sounds/ShieldBreak.WAV" )
Set Physics ( 16,48,1.0, 0.0, 0.5 )
Set Run Power ( 256.0 )
Set Air Run Power ( 75.0 )
Set Jump Power ( -192.0 )
#HUD Setup#
Load Logo ( "Shared/Logos/PhatonStar.PNG" )
By putting a signpost in the middle of nowhere, you're making it somewhere.