- newgame player status bugfix
[supertux.git] / WORLDMAPDESIGN
1
2 - World Map editing for SuperTux -
3 http://super-tux.sf.net/
4
5 Last update: September 4, 2004
6
7 This document describes how to edit a world map.
8
9 = EDITING WORLDMAP TILES =
10
11 To edit a World Map, please use FlexLay. Thought it might have problems with
12 the editing of level and special tiles, since it isn't sync with CVS.
13
14 = AVAILABLE SPECIAL TILES =
15
16 These are the available special tiles (even if 0_1_1 branch has some of them,
17 they will most likely have different names or used in another way):
18
19 ; This is a comment!
20
21 (special-tile
22 ; X and Y position [NECESSARY]
23  (x 10)
24  (y 14)
25
26 ; If this is a level:
27  (level "file_name.stl")
28
29 ; Flip the level vertically [NEEDS: level] - default: false
30  (vertical-flip #t)
31
32 ; Stop auto-walking - default: false
33  (auto-path #f)
34
35 ; Add a message tile. You can also use this together with a teleporter.
36  (map-message "Hello World!"
37
38 ; Instead of showing a fix message, show while the player
39 ; passes by [NEEDS: map-message]- default: false
40  (passive-message #t)
41
42 ; Apply action only in this/these direction(s) [WORKS FOR: passive-message] -
43 ; default: true for all - possible values: north/south/east/west.
44 ; More than one can be used with a separator or not
45  (apply-to-direction "north-east")
46
47 ; Add a teleporter tile to
48  (teleport-to-x 20)
49  (teleport-to-y 13)
50
51 ; Don't show this tile [WORKS FOR: level, teleporter, map-message]
52  (invisible-tile #t)
53
54 ; Show this text file after completing this level [NEEDS: level]
55  (extro-filename "filename")
56
57 ; Go to this world after completing this level [NEEDS: level]
58  (next-world "worldmap.stwt)
59
60 ; Exit world map after completing this level [NEEDS: level]
61  (exit-game #t)
62
63 ) ; end of special-tile
64
65     - SuperTux developers