Skip to main content

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

  1. The spaceship has an inertia associated, so be careful when you want to perform a direction change.
  2. The field will be denser and more challenging as further you go.
  3. 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.

With the adition of the hoghscore menú and sfx sounds, the game has finally arrive to a playable state. Now the game save you score and give you sound feedback of your input. The objective is complete.

And beyond

After achieving the playable state, I start thinking about how to add enjoyment to the game, most of the 2D games out there have some kind of shooting experience. But this game has no guns and the addition of that kind of feature can affect the core of the game, in which case it is easier to start from scratch with a different game. So I start looking at the game, what is the core mechanic and what is the objective. Finally, I realize that the project and the game are connected, they are both, journeys. A travel throw the space in the look for discovery. So, with this in mind, I start to add some features to reflect this. In the next weeks, the efforts will be focused on giving the player the experience of a journey.

Backlog

The next steps in the development process are:

  1. Credits
  2. Screen pan with ship movement
  3. Ship rotate with player input
  4. Stages and stops
  5. Background paralax
  6. Background sparkles
  7. Background planets
  8. UFO

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

space-escape-raksoiv-0.4.0.tar.gz (11.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

space_escape_raksoiv-0.4.0-py3-none-any.whl (11.6 MB view details)

Uploaded Python 3

File details

Details for the file space-escape-raksoiv-0.4.0.tar.gz.

File metadata

  • Download URL: space-escape-raksoiv-0.4.0.tar.gz
  • Upload date:
  • Size: 11.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for space-escape-raksoiv-0.4.0.tar.gz
Algorithm Hash digest
SHA256 49864dffc2e0e4e4dcc07b28acb7a9567b84c0b05e0cc165bfd6ed6b397afc76
MD5 4ca96754b2c6461d6fb04cda5245b36a
BLAKE2b-256 98944a219b74bf019c9c57182178628804ad1ec96e5287db1658e7d4edc1b904

See more details on using hashes here.

File details

Details for the file space_escape_raksoiv-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: space_escape_raksoiv-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for space_escape_raksoiv-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66164df8d0a72a43dceeac9040932c5bb064601cec61f7fd293306e3a460a7ed
MD5 c5c0c99663a9b9b2cdb4d599a5a1dc2d
BLAKE2b-256 11dc009a9dc3c11806fe5aac8ebf9a42d76fdc92a45781fa1d21352f47f10e1e

See more details on using hashes here.

Supported by

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