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.1.tar.gz (369.0 kB view details)

Uploaded Source

File details

Details for the file pysteroids-1.0.1.tar.gz.

File metadata

  • Download URL: pysteroids-1.0.1.tar.gz
  • Upload date:
  • Size: 369.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pysteroids-1.0.1.tar.gz
Algorithm Hash digest
SHA256 16edaa2bd95bebe150597fed4af6c41eb062f793b964c131cc578e4b8dc29d25
MD5 6a3c18efe46f8df3bc201817ab6f971f
BLAKE2b-256 3c8e2c2a86dd24d68bb4041b33ef695ea75a09270bde585652ed841c889a6df9

See more details on using hashes here.

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