-
-HEAD:
---------
-
-1. Name of the level.
-2. The theme of the level. The game will look in "supertuxdir/data/images/theme"
-3. The time you have to finish the level.
-4. Defines the music file, which should be played.
-5,6,7. RGB values for the background of the level.
-8. Defines the level's length.
-
-Example:
-----------
-Antarctica
-antarctica
-240
-ji_turn.it
-128
-192
-255
-375
-
-MAIN:
--------
-
-Levels are created with the following characters:
-(15 lines and as many columns as defined in the seventh line of the levelfile)
-
-X/x <- Brick0
-Y/y <- Brick1
-A/B/! <- Box full
-a <- Box empty
-C-F <- Cloud0
-c-f <- Cloud1
-G-J <- Bkgd0
-g-j <- Bkgd1
-# <- Solid0
-[ <- Solid1
-= <- Solid2
-] <- Solid3
-$ <- Distro
-^ <- Waves
-* <- Poletop
-| <- Pole
-\ <- Flag
-& <- Water
-
-Bad guys:
-
-0 <- BluescreenOfDeath
-1 <- Laptop
-2 <- Money
-
-= BUILT-IN LEVEL EDITOR =
-
+The level format used to be pretty easy to understand, but it
+is now more complex. Anyway, should be pretty useful to know
+a bit of it, when you want to do stuff just as to just change
+the author's name or something small.
+
+It uses the Lisp syntax and is pretty intuitive. Here have a
+look at a quotation:
+(Comments can be made using ';')
+
+; This is a comment!
+(supertux-level
+; some level info: version, author and the level's name
+ (version 1)
+ (author "Ingo Ruhnke")
+ (name "Night Chill")
+; number of tiles used (currently the height has to be 15)
+ (width 515)
+ (height 15)
+; Tux's start position
+ (start_pos_x 100)
+ (start_pos_y 170)
+; Background image; if none is specified, the color below will be used
+ (background "")
+; Music file
+ (music "Mortimers_chipdisko.mod")
+; Colors, as you can see you can have different colors in the top
+; and in the bottom, thus creating a gradient
+ (bkgd_red_top 0)
+ (bkgd_green_top 0)
+ (bkgd_blue_top 0)
+ (bkgd_red_bottom 120)
+ (bkgd_green_bottom 120)
+ (bkgd_blue_bottom 0)
+; Time (it is not in seconds!)
+ (time 300)
+; Gravity to be used (you should let it stay in 10 for ordinary levels)
+ (gravity 10)
+; The particle system draws images that simulate weather effects
+; As of the writing of this text, both "snow" and "clouds" are supported
+ (particle_system "snow")
+; Theme is the tileset that is used
+ (theme "antarctica")
+ (interactive-tm
+ ; here goes a lot of numbers that are the tiles places
+ )
+; Reset points; there can be more than one
+; Reset points are positions where the player passes through and
+; if he dies, he will be back to there. They are invisible
+ (reset-points
+ (point (x 6988) (y 222))
+ )
+; Objects include enemies, may include more stuff in the future
+; just as moving plataforms...
+ (objects
+ (mriceblock (x 13919) (y 384))
+ (mriceblock (x 14258) (y 366))
+ (mriceblock (x 12996) (y 248))
+ (mriceblock (x 13058) (y 250))
+ (mriceblock (x 12933) (y 245))
+ )
+ )
+
+
+= LEVEL EDITORS =