Level Code Documentation

Level Designer Contests, discussion about and help with the Level Designer, information about glitches, and levels and level series can be found here.

Moderator: Level Moderator

Level Code Documentation

Thumbs up x2

Postby Suyo » July 29th, 2009, 10:20 pm

Clicky

This is a documentation how the level code of SM63 is built.
With this knowledge, you can make a level just using Notepad (using LD only for looking up block and sprite numbers and testing), like this:
Code: Select all
55x17~9U9W9U9W9U9W9U9W9U9W9U9W9U9W9S9S9^9^9S9S9S9S9S9S9S9S9S9S9S9S9S9S9S9^9^9S9S9S9S9S9S9S9S9S9S9S9S9S9S9R9^9^9S9S9S9S9S9S9S9S9S9S9S9S9S9R9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9R9N9N9^9^9S9S9P9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9N9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9N9P9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9Q9P9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9P9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9P9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9P9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9^9S9S9S9S9S9S9S9S9S9S9S9S9N9N9N9^9U9W9U9W9U9W9U9W9U9W9U9W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%2014%21%0D%0D%2D%20Superyoshi|43,848,418|73,240,384,I%20tell%20you%20%2D%20this%20pipe%20does%20NOT%20bring%20you%20to%20the%20destination%20you%20think%2E%0D%0D%2D%20Superyoshi|6,1608,304|5,1672,368|40,1160,344,20,82|40,972,82,208,344|35,984,128,1,0|5,1000,104|5,1288,56|73,1192,384,See%3F%20You%20are%20now%20in%20the%20backside%20of%20my%20shack%2E~14~2~Superyoshi%27s%20old%20Shack

(Note I didn't use multipliers because I was lazy)
This was made by me, with my documentation, just with notepad (using LD only for blabla you know).

WARNING
THE DOCUMENTATION IS A BIT OUTDATED - THE LEVEL NAME USES NOW ASCII LIKE THE SIGN TEXTS (ALL CHARACTERS WHICH ARE NOT LETTERS OR NUMBERS GET ASCII'D)

Random thought:
Everyone should make a level once just with Notepad. It's a great experience to understand how everything works, thus making better levels. I found a glitch thanks to my level.

TO DO:
  • Making a PHP online app which calculates the Block IDs
  • List of the properties of all sprites will most likely never happen because I'm lazy
  • Ask Runouw when they started developing SM63

If you have any questions, just ask!

EDIT LOG (server time):
27th June 2009, 5:17 pm: Editing in to ask Runouw
30th June 2009, 7:20 am: Transferring to new forum
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Level Code Documentation

Postby 3.14 » August 8th, 2009, 4:28 pm

Haven't you said this before? Ohh...right new forum. Well.it's pretty cool...and darn hard.
3.14159265358979323846264338327950...Oops..I lost track...*starts again*!

-G.I Pi!

Image
User avatar
3.14
As Ninja As Myst

 
Posts: 239
Joined: August 8th, 2009, 2:55 pm
Location: Out of your sight.

Thumbs Up given: 0 times
Thumbs Up received: 1 time

Re: Level Code Documentation

Postby level4 » September 3rd, 2009, 7:27 pm

I was wondering,is there any way to place an image in the level code, and have it show up as a background or an item? I have tried it several different ways, but it doesn't seem to work.
level4
Post FLUDDer

 
Posts: 58
Joined: August 8th, 2009, 8:33 pm

Thumbs Up given: 0 times
Thumbs Up received: 1 time

Re: Level Code Documentation

Postby Suyo » September 4th, 2009, 12:33 am

No.
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Level Code Documentation

Postby fourinone » September 4th, 2009, 4:23 pm

level4 wrote:I was wondering,is there any way to place an image in the level code, and have it show up as a background or an item? I have tried it several different ways, but it doesn't seem to work.

As in an actual image from your files? That would require uploading said images to some server connected to the game, and since it is not already programmed in, it would require some major reprogramming of the game to make that possible...
You can, however, try to recreate an image using size 1 rotating blocks (which I know you are already proficient at using : D), however tedious that may be.
ImageImageImage
YOU ARE NOW MANUALLY BREATHING
User avatar
fourinone
Honorary Member

 
Posts: 542
Joined: August 1st, 2009, 3:27 pm

Thumbs Up given: 5 times
Thumbs Up received: 40 times

Re: Level Code Documentation

Postby that1guy » November 1st, 2009, 6:16 am

You instructed someone to come here for an answer as to how to have 2 lines in your level title...maybe I'm stupid but I don't see that info.
that1guy
Mage's Apprentice

 
Posts: 17
Joined: October 23rd, 2009, 12:25 am

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Level Code Documentation

Postby Suyo » November 1st, 2009, 6:29 am

<br> is a great HTML tag which works in signs and level names.
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Level Code Documentation

Postby fourinone » November 1st, 2009, 11:02 am

that1guy wrote:how to have 2 lines in your level title

Superyoshi wrote:<br> is a great HTML tag which works in signs and level names.

The url encoding "%0D" works too.
ImageImageImage
YOU ARE NOW MANUALLY BREATHING
User avatar
fourinone
Honorary Member

 
Posts: 542
Joined: August 1st, 2009, 3:27 pm

Thumbs Up given: 5 times
Thumbs Up received: 40 times

Re: Level Code Documentation

Postby Zunar » November 1st, 2009, 6:48 pm

Thank you SOOOO much fourinone! That makes creating level titles much easier (I can't really explain). I also wanted to ask you...how do you make italics in the level code?
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Level Code Documentation

Postby Suyo » November 2nd, 2009, 1:13 am

<i>bla</i>
Directly in the code, it's %60i%62bla%60%47i%62
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Next

Return to Super Mario 63 Level Designer