Space Escape is a 2D simple endless horizontal scrolling of a space ship avoiding asteroids made with PyGame
Project description
Espace Escape
Space Escape is a 2D endless scroll game in which a spaceship will travel across an asteroid field. The player has the mission of control the space ship and avoid any danger that can impact the craft.
Features
- The spaceship has an inertia associated, so be careful when you want to perform a direction change.
- The field will be denser and more challenging as further you go.
- In the end, maybe you can find other life forms.
Installation
Space Escape uses Python an easy to learn, powerful programming language. If you don't already have it, you can download it from python.org. Python 3.7.7 or greater is required. For Windows users, please refer to Python for Windows
The best way to install Space Escape is with the pip tool (which is what python uses to install packages). Note, this comes with python in recent versions. We use the --user flag to tell it to install into the home directory, rather than globally.
python3 -m pip install -U space-escape-raksoiv --user
Play the Game
To start the game write in whatever terminal o command line:
space-escape
Screenshots
Starting Idea
This game starts from a tutorial of pygame https://realpython.com/pygame-a-primer/. In this tutorial, the student is encouraged to program a game about an airplane that needs to avoid rockets incoming. The first result of the game was precisely a spaceship that avoids asteroids, the change in the sprites of the game was due to a subscription to download the art pack. So I take the sprites and arts from: https://opengameart.org/content/space-shooter-redux.
A playable game
After the first success of a piece of code than can represent a game, the idea of doing this game playable was increasing in time. So I take the journey, from one script to a total game, starting from the menu of the game and give a player a score for his efforts to go across the field.
Backlog
The next steps in the development process are:
- High Score screen and persistent score history
- Sound Effects
- Power-Ups (Maybe)
Any feedback or idea is well received in the issues section.
Happy Flying!
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
Built Distribution
Hashes for space-escape-raksoiv-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afa49651aa52350399af329391d920a07eb074ff9b3cb5a9532082375913234d |
|
MD5 | 8ee390a705024b6495b5e8934f1ef16f |
|
BLAKE2b-256 | 0a515d30a3470c8a9d021c6e9cb9f1c0824a5e2bc639603acdd0fcf994483e99 |
Hashes for space_escape_raksoiv-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef95da3759ccd6c24f3a9e4949693d3684aa5410620cd1c04e2bd1cb0796c9e |
|
MD5 | 609df22096ebcb09b779d1211fcb4104 |
|
BLAKE2b-256 | fe5878ff6abb3f36237d8795702cfd16281c443d9ecdc719ab19b6d762bb733c |