comparison README.txt @ 537:e12a4ebeccfc

Edits to Niel's LevelEditor README
author Stefano Rivera <stefano@rivera.za.net>
date Sun, 18 Sep 2011 01:25:07 +0200
parents 7fd6ecb72fd7
children b2e0f1267282
comparison
equal deleted inserted replaced
536:7fd6ecb72fd7 537:e12a4ebeccfc
39 39
40 40
41 Level Editor 41 Level Editor
42 ------------ 42 ------------
43 43
44 The level editor is available from the main menu. Levels are saved as 44 The level editor is available from the main menu. Levels are saved as user
45 user levels, and stored in $XDG_DATA_HOME/.mamba/user_levels 45 levels, and stored in $XDG_DATA_HOME/.mamba/user_levels (i.e.
46 or $APPDATA/.mamba/user_levels. 46 ~/.local/share/.mamba/user_levels) or $APPDATA/.mamba/user_levels on Windows.
47 47
48 A new level can be created from one of the existing templates using new. 48 A new level can be created from one of the existing templates using "New".
49 Level properties, such as the name, filename and background music track 49 Level properties, such as the name, filename and background music track can be
50 can be changed using the "Edit Level Metaddata" button. 50 changed using the "Edit Level Metadata" button.
51 51
52 The level editor has 3 modes: placing tiles, placing things and editing 52 The level editor has 3 modes: placing tiles, placing things and editing
53 sprites. 53 sprites.
54 54
55 Tiles are level geography, such as floors, walls and so forth. 55 Tiles are level geography, such as floors, walls and so forth. Things are
56 Things are items that the snake can eat, such as rats. 56 items that the snake can eat, such as rats. Sprites are special elements with
57 Sprites are special elements with more complex items which require 57 more complex items which require extra configuration information, such as
58 extra confiugration information, such as tunnels. 58 tunnels.
59 59
60 To place tiles and things, select the desired element and click on the map to 60 To place tiles and things, select the desired element and click on the map to
61 place the tile or thing. Deleting anything replaces the space with a floor 61 place the tile or thing. Deleting anything replaces the space with a floor
62 tile. The selection of tiles can be scrolled using the arrow buttons. 62 tile (Right click also deletes). The selection of tiles can be scrolled using
63 the arrow buttons.
63 64
64 Sprites can be placed as well. Sprites require parameters. Each sprite 65 Sprites can be placed as well. Sprites require parameters. Each sprite needs a
65 needs a unique id tag, which can be any string without spaces, and 66 unique id tag, which can be any string without spaces, and then additional
66 then additional parameters that depend on the type of sprite, usually 67 parameters that depend on the type of sprite, usually the id of another sprite.
67 the id of another sprite. Sprites can be added, edited and deleted. 68 Sprites can be added, edited and deleted. Look at existing maps to see how the
68 Look at existing maps to see how the parameters can be used. 69 parameters can be used.
69 70
70 Levels can be saved, and uploaded to be shared with other people. Shared 71 Levels can be saved, and uploaded to be shared with other people. Shared levels
71 levels only become available after the levels have been curated. 72 only become available after the levels have been curated by the Mamba team.
72 73
73 Development notes 74 Development notes
74 ----------------- 75 -----------------
75 76
76 Creating a source distribution with:: 77 Creating a source distribution with::