Mercurial > mamba
annotate README.txt @ 536:7fd6ecb72fd7
Add some stuff about the level editor
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sun, 18 Sep 2011 01:18:48 +0200 |
parents | 2bc856561333 |
children | e12a4ebeccfc |
rev | line source |
---|---|
519 | 1 Mutable Mamba |
2 ============= | |
0 | 3 |
5 | 4 Entry in PyWeek #13 <http://www.pyweek.org/13/> |
0 | 5 URL: http://pyweek.org/e/mamba |
6 Team: mamba | |
5 | 7 Members: |
8 Adrianna Pinska | |
451
7a64ebfe74ba
Update README to add Desilu to team and correct build instructions.
Simon Cross <hodgestar@gmail.com>
parents:
28
diff
changeset
|
9 Desilu Crossman |
5 | 10 Gideon Visser |
11 Jeremy Thurgood | |
12 Neil Muller | |
13 Simon Cross | |
14 Stefano Rivera | |
0 | 15 License: see LICENSE.txt |
16 | |
519 | 17 For licensing info about the various resources used in the game, see: |
18 * data/sounds/sources.txt | |
19 * data/tiles/sources.txt | |
20 * data/music/sources.txt | |
28
f9a415bb17ad
Add note on sound sources to README
Neil Muller <drnlmuller@gmail.com>
parents:
5
diff
changeset
|
21 |
0 | 22 |
23 Running the Game | |
24 ---------------- | |
25 | |
26 On Windows or Mac OS X, locate the "run_game.pyw" file and double-click it. | |
27 | |
28 Othewise open a terminal / console and "cd" to the game directory and run: | |
29 | |
30 python run_game.py | |
31 | |
32 | |
33 How to Play the Game | |
34 -------------------- | |
35 | |
519 | 36 Move the snake around the screen with the arrow keys. Get to the exit without |
37 crashing into anything. Collect interesting and exciting mutations along the | |
38 way. Make your own levels and share them with the world. | |
0 | 39 |
40 | |
536
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
41 Level Editor |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
42 ------------ |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
43 |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
44 The level editor is available from the main menu. Levels are saved as |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
45 user levels, and stored in $XDG_DATA_HOME/.mamba/user_levels |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
46 or $APPDATA/.mamba/user_levels. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
47 |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
48 A new level can be created from one of the existing templates using new. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
49 Level properties, such as the name, filename and background music track |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
50 can be changed using the "Edit Level Metaddata" button. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
51 |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
52 The level editor has 3 modes: placing tiles, placing things and editing |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
53 sprites. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
54 |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
55 Tiles are level geography, such as floors, walls and so forth. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
56 Things are items that the snake can eat, such as rats. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
57 Sprites are special elements with more complex items which require |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
58 extra confiugration information, such as tunnels. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
59 |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
60 To place tiles and things, select the desired element and click on the map to |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
61 place the tile or thing. Deleting anything replaces the space with a floor |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
62 tile. The selection of tiles can be scrolled using the arrow buttons. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
63 |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
64 Sprites can be placed as well. Sprites require parameters. Each sprite |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
65 needs a unique id tag, which can be any string without spaces, and |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
66 then additional parameters that depend on the type of sprite, usually |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
67 the id of another sprite. Sprites can be added, edited and deleted. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
68 Look at existing maps to see how the parameters can be used. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
69 |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
70 Levels can be saved, and uploaded to be shared with other people. Shared |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
71 levels only become available after the levels have been curated. |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
72 |
5 | 73 Development notes |
0 | 74 ----------------- |
75 | |
76 Creating a source distribution with:: | |
77 | |
451
7a64ebfe74ba
Update README to add Desilu to team and correct build instructions.
Simon Cross <hodgestar@gmail.com>
parents:
28
diff
changeset
|
78 ./scripts/build_unix.sh |
0 | 79 |
80 You may also generate Windows executables and OS X applications:: | |
81 | |
536
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
82 Windows: |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
83 ./scripts/wine-py2exe |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
84 ./scripts/makensis |
0 | 85 |
536
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
86 OS X: |
7fd6ecb72fd7
Add some stuff about the level editor
Neil Muller <drnlmuller@gmail.com>
parents:
519
diff
changeset
|
87 ./scripts/darwin-py2app.sh |
0 | 88 |