Skip to main content

A clone of the game Asteroids, with some extra bells and whistles

Project description

Pysteroids is a clone of the game Asteroids written in Python. Although I call it a clone, I might have added a few bells and whistles that weren’t in the original (I’m not exactly sure what the original had).

Also, this is the first game I’ve finished to completion, so it may not be the best. I did work hard on it, so hopefully you’ll have fun with it! If not, oh well.

Dependencies

Pysteroids depends on the following libraries:

  • NumPy >= 1.7.1

  • Pyglet > 1.4.1 (specifically, 1.2alpha1)

You also need OpenAL or AVBin installed for audio.

When installing, setuptools should pull Numpy and Pyglet down automatically (But not OpenAL or AVBin). It will pull the Pyglet alpha from its development site. The PyPI version of Pyglet (1.4.1) doesn’t include a patch which fixes some issues with pyglet not initializing. Not all users may have this issue, but Pyglet 1.2alpha1 seems to be stable and SHOULD work for everyone. If not, you can change the dependency in setup.py and try the stable version. Unfortunately, Pyglet development seems to be at a standstill, so this is the best option I could come up with.

Controls

  • W: Move ship forward

  • A/D: Rotate ship

  • Space: Fire

  • Shift: Teleport

License

Pysteroids is copyrighted under the MIT license. A copy of it should be included in the source distribution, in a file called LICENSE.txt. You can get more info there. The source code at Github also has the license.

Source

You can find the source code in full at https://github.com/Cheeser12/pysteroids

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysteroids-1.0.tar.gz (370.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page