2 - Level editing for SuperTux -
3 http://super-tux.sf.net/
5 Last update: April 26, 2004
7 This document describes both the level format and
12 The level format used to be pretty easy to understand, but it
14 Anyway, should be pretty usefull to know a bit of it, when you
15 want to do stuff just as to just change the author's name or
18 It uses the Lisp syntax and is pretty intuitive. Here have a
20 (Comments can be made using ';')
24 ; a few level's info: version, author and level's name
26 (author "Ingo Ruhnke")
28 ; number of tiles used (currently the height has to be 15)
34 ; Background image, if any is specified, the color below will be used
37 (music "Mortimers_chipdisko.mod")
38 ; Colors, as you can see you can have different colors in the top
39 ; and in the bottom, thus creating a gradient
44 (bkgd_green_bottom 120)
46 ; Time (it is not in seconds!)
48 ; Gravity to be used (you should let it stay in 10 for ordinary levels)
50 ; The particle system allows that images can be displaying simulating weather
51 ; In the writing of this text, both "snow" and "clouds" are supported
52 (particle_system "snow")
53 ; Theme is the tiles look that are used
56 ; here goes a lot of numbers that are the tiles places
58 ; Reset points, there can be more than one
59 ; Reset points are positions where the player passes through and
60 ; if he dies, he will be back to there. They are invisible
62 (point (x 6988) (y 222))
64 ; Objects include enemies, may include more stuff in the future
65 ; just as moving plataforms...
67 (mriceblock (x 13919) (y 384))
68 (mriceblock (x 14258) (y 366))
69 (mriceblock (x 12996) (y 248))
70 (mriceblock (x 13058) (y 250))
71 (mriceblock (x 12933) (y 245))
78 USING THE BUILT-IN LEVEL EDITOR:
79 --------------------------------
81 When opening the leveleditor, a menu will appear. This
82 menu can be used to select or add level subsets.
83 A level subset is a collection of levels. Subsets can be chose
84 during gameplay when starting a game.
86 After selecting the subset, have a look at the level editor.
87 The button bar in the right is the place where you can control
88 the actions related with editing. You can select levels and add
90 To select tiles (foreground or background) and enemies, the button
91 bar is the right place. There you can also save, test and setup
92 the level. It is also possible between two selection cursors! Give
94 A right click in a button bar button will give you a description
95 and a shortcut for it.
97 To change a tile, just press the tile you want to change with a
98 mouse left click. The current tile will be used. Depending
99 on the selection behavior, you can or not select more
101 To scroll, you just have to point over the two arrow buttons, or
102 use the right button click.
104 There is a small help that can be reached by pressing F1.
106 To go back to the menu, just press Esc.
108 The levels are saved under a .supertux/levels directory in
111 FIXME: this description of the built-in level editor are
112 out dated. Anyway, it is yet being developed.
117 FlexLay is an external project (it even uses different libraries)
118 that is developed by Ingo Ruhnke and supports a lot of different
119 games, including SuperTux (or else we wouldn't mention it :) ).
121 Anyway, it is pretty easy to use and a lot more advanced than
122 the internal one. So, if you are considering in doing a few levels
123 for us, it may be a good idea to check this out.
125 There isn't currently any webpage for it, just go to our webpage and
126 you should find a download of this program.
128 The only cons it has is that you have to have an accelerated
129 videocard (with the drivers working, obviously). Anyway shouldn't
130 be a problem nowadays.
131 For linux, we advise nvidia videocards with the use of nvidia's closed
132 drivers. ATI drivers should be enough to run this game though.
137 To sum up, go and do lots of levels and HAVE FUN!!
139 Please, send your levels or any art you created to the SuperTux's
140 mailinglist or to the maintainer (look at AUTHORS).
143 - SuperTux developers