Mercurial > nagslang
annotate README.txt @ 337:004e3dd38336
Re-enable no-sound option
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Fri, 06 Sep 2013 12:25:53 +0200 |
parents | 67387621c61b |
children | 35243e090a30 |
rev | line source |
---|---|
0 | 1 Your Game Title |
2 =============== | |
3 | |
193
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
4 Entry in PyWeek #17 <http://www.pyweek.org/17/> |
0 | 5 URL: http://pyweek.org/e/nagslang |
193
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
6 Team: Cape Viper (leave the "Team: bit") |
0 | 7 Members: YOUR TEAM MEMBERS (leave the "Members: bit") |
8 License: see LICENSE.txt | |
9 | |
193
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
10 Requirements |
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
11 ============ |
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
12 |
287
67387621c61b
Added requirements.txt and use it from setup.py
David Fraser <davidf@sjsoft.com>
parents:
193
diff
changeset
|
13 The game requires pygame and pymunk. Requirements can be installed by |
67387621c61b
Added requirements.txt and use it from setup.py
David Fraser <davidf@sjsoft.com>
parents:
193
diff
changeset
|
14 pip install -e . |
67387621c61b
Added requirements.txt and use it from setup.py
David Fraser <davidf@sjsoft.com>
parents:
193
diff
changeset
|
15 Or |
67387621c61b
Added requirements.txt and use it from setup.py
David Fraser <davidf@sjsoft.com>
parents:
193
diff
changeset
|
16 pip install -r requirements.txt |
193
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
17 |
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
18 It was developed using python 2.7, pymunk 4.0 and pygame 1.9.2. Older |
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
19 versions may or may not work. |
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
20 |
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
21 The editor also requires Albow 2.2.0 |
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
22 (from http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/) |
d862cc209de4
Add some notes on requirements to the readme
Neil Muller <drnlmuller@gmail.com>
parents:
0
diff
changeset
|
23 |
0 | 24 |
25 Running the Game | |
26 ---------------- | |
27 | |
28 On Windows or Mac OS X, locate the "run_game.pyw" file and double-click it. | |
29 | |
30 Othewise open a terminal / console and "cd" to the game directory and run: | |
31 | |
32 python run_game.py | |
33 | |
34 | |
35 How to Play the Game | |
36 -------------------- | |
37 | |
38 | |
39 | |
40 Move the cursor around the screen with the mouse. | |
41 | |
42 Press the left mouse button to fire the ducks. | |
43 | |
44 | |
45 Development notes | |
46 ----------------- | |
47 | |
48 Creating a source distribution with:: | |
49 | |
50 python setup.py sdist | |
51 | |
52 You may also generate Windows executables and OS X applications:: | |
53 | |
54 python setup.py py2exe | |
55 python setup.py py2app | |
56 | |
57 Upload files to PyWeek with:: | |
58 | |
59 python pyweek_upload.py | |
60 | |
61 Upload to the Python Package Index with:: | |
62 | |
63 python setup.py register | |
64 python setup.py sdist upload | |
65 |