From: Ricardo Cruz Date: Wed, 6 Oct 2004 21:38:20 +0000 (+0000) Subject: Updated documentation with new syntax. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=91d16e20900ac24075e75221d4d5e26cd6094857;p=supertux.git Updated documentation with new syntax. SVN-Revision: 1985 --- diff --git a/WORLDMAPDESIGN b/WORLDMAPDESIGN index d29d227c4..c09fbd91c 100644 --- a/WORLDMAPDESIGN +++ b/WORLDMAPDESIGN @@ -11,27 +11,54 @@ This document describes how to edit a world map. To edit a World Map, please use FlexLay. Thought it might have problems with the editing of level and special tiles, since it isn't sync with CVS. -= AVAILABLE SPECIAL TILES = += INTRODUCTION = -These are the available special tiles (even if 0_1_1 branch has some of them, -they will most likely have different names or used in another way): +These things are always changing, so if even 0.1.x has something like something +described here, it might have a different name or be used in a different way. -; This is a comment! +Stuff prefixed by a ';' are comments. + +; This is a comment! :) + += MAKING THE HOLE FOR A LEVEL = + +; Opening level group +(level -(special-tile ; X and Y position [NECESSARY] (x 10) (y 14) -; If this is a level: - (level "file_name.stl") +; Filename of the level [NECESSARY] + (name "file_name.stl") -; Flip the level vertically [NEEDS: level] - default: false +; Flip the level vertically - default: false (vertical-flip #t) -; Stop auto-walking - default: false +; Show this text file after completing this level + (extro-filename "filename") + +; Go to this world after completing this level + (next-worldmap "worldmap.stwt) + +; Exit world map after completing this level + (quit-worldmap #t) + +; Disable auto walking after completing the level - default: false (auto-path #f) +) ; end of level group + + += AVAILABLE SPECIAL TILES = + +; Opening special-tile group +(special-tile + +; X and Y position [NECESSARY] + (x 10) + (y 14) + ; Add a message tile. You can also use this together with a teleporter. (map-message "Hello World!" @@ -48,18 +75,10 @@ they will most likely have different names or used in another way): (teleport-to-x 20) (teleport-to-y 13) -; Don't show this tile [WORKS FOR: level, teleporter, map-message] +; Don't show this tile [WORKS FOR: teleporter, map-message] (invisible-tile #t) -; Show this text file after completing this level [NEEDS: level] - (extro-filename "filename") - -; Go to this world after completing this level [NEEDS: level] - (next-world "worldmap.stwt) - -; Exit world map after completing this level [NEEDS: level] - (exit-game #t) +) ; end of special-tile group -) ; end of special-tile - SuperTux developers