| 1 | PySpaceWar |
|---|
| 2 | ========== |
|---|
| 3 | |
|---|
| 4 | Two ships duel in a gravity field. Gravity doesn't affect the ships |
|---|
| 5 | themselves (which have spanking new anti-gravity devices), but it affects |
|---|
| 6 | missiles launced by the ships. |
|---|
| 7 | |
|---|
| 8 | You can play against the computer, or two players can play with one keyboard. |
|---|
| 9 | There is also a Gravity Wars mode, where the two ships do not move, and the |
|---|
| 10 | players repeatedly specify the direction and velocity of their missiles. |
|---|
| 11 | |
|---|
| 12 | Web page: http://mg.pov.lt/pyspacewar |
|---|
| 13 | |
|---|
| 14 | Bug tracker: https://bugs.launchpad.net/pyspacewar |
|---|
| 15 | |
|---|
| 16 | Requirements: |
|---|
| 17 | * Python (http://www.python.org/), at least version 2.4 |
|---|
| 18 | * PyGame (http://www.pygame.org/) |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | Quick start |
|---|
| 22 | ----------- |
|---|
| 23 | |
|---|
| 24 | Just run 'pyspacewar' and play. There is no need to build or install anything |
|---|
| 25 | (although if you wish to do so, you can use the traditional 'python setup.py |
|---|
| 26 | install'). |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | Player 1 Controls |
|---|
| 30 | ----------------- |
|---|
| 31 | |
|---|
| 32 | LEFT, RIGHT - rotate |
|---|
| 33 | UP - accelerate in the direction you're facing |
|---|
| 34 | DOWN - accelerate in the opposite direction |
|---|
| 35 | RCTRL - launch a missile |
|---|
| 36 | RALT - brake (lose 5% speed) |
|---|
| 37 | 1 - enable/disable computer control |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | Player 2 Controls |
|---|
| 41 | ----------------- |
|---|
| 42 | |
|---|
| 43 | A, D - rotate |
|---|
| 44 | W - accelerate in the direction you're facing |
|---|
| 45 | S - accelerate in the opposite direction |
|---|
| 46 | LCTRL - launch a missile |
|---|
| 47 | LALT - brake (lose 5% speed) |
|---|
| 48 | 2 - enable/disable computer control |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | Other Controls |
|---|
| 52 | -------------- |
|---|
| 53 | |
|---|
| 54 | F1 - help |
|---|
| 55 | ESC - escape to menu (pauses current game) |
|---|
| 56 | PAUSE - pause the game |
|---|
| 57 | O - hide/show missile orbits |
|---|
| 58 | F, ALT+ENTER - toggle full-screen mode |
|---|
| 59 | +, - - zoom in/out |
|---|
| 60 | mouse wheel - zoom in/out |
|---|
| 61 | left click - escape to menu (pauses current game) |
|---|
| 62 | right drag - drag the viewport around |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | Command Line |
|---|
| 67 | ------------ |
|---|
| 68 | |
|---|
| 69 | -f - start in full-screen mode |
|---|
| 70 | -m WxH - choose video mode for full-screen (e.g. -m 800x600) |
|---|
| 71 | -d - show detailed timings for debugging/optimization |
|---|
| 72 | |
|---|
| 73 | |
|---|
| 74 | Credits |
|---|
| 75 | ------- |
|---|
| 76 | |
|---|
| 77 | PySpaceWar was written by Marius Gedminas <marius@pov.lt>. It is released |
|---|
| 78 | under the GNU General Public Licence (see GPL.txt). |
|---|
| 79 | |
|---|
| 80 | Ignas Mikalajūnas <ignas@pov.lt> contributed the computer AI code. |
|---|
| 81 | |
|---|
| 82 | The planet images were borrowed from IGE - Outer Space, an open-source on-line |
|---|
| 83 | strategy game (http://www.ospace.net/). |
|---|
| 84 | |
|---|
| 85 | The background image is a darkened version of a public domain Hubble Space |
|---|
| 86 | Telescope picture of the NGC 3949 galaxy, downloaded from |
|---|
| 87 | http://hubblesite.org/newscenter/newsdesk/archive/releases/2004/25/ |
|---|
| 88 | |
|---|
| 89 | Icons were contributed by Jakub Szypulka and licenced under the Creative |
|---|
| 90 | Commons Share-Alike 3.0 licence. See |
|---|
| 91 | http://cubestuff.wordpress.com/2007/12/23/pyspacewar-goes-tango |
|---|
| 92 | |
|---|