Skip to main content

Lunar Lander game tribute written in Python with Pyxel retro game engine

Project description

Pyxel Lander

Lunar Lander game tribute written in Python with Pyxel retro game engine.

screenshot

Features

  • Procedural map generation
  • Pixel perfect collision detection
  • Fuel propulsion system
  • HUD with the Lunar Module feedback
  • Landing impact detection

Controls

  • Use the arrow keys to control the Lunar Module.
  • The s key starts the game.
  • You can change maps with the m key on the menu.
  • The r key restarts the game.
  • You can exit the game with the q or esc keys.

Packaged executable

If you want to play the game without installing the development tools you can check it on itch.io.

PyPI Installation

This game runs with Python 3.7 or above.

You can use pipx to install the game and have it available as an standalone program:

$ pipx install pyxel-lander

Then you can run the game running:

$ pyxel-lander

Warning: The Pyxel requirement uses external libraries, make sure you have them all installed by looking into its docs.

Running from source code

To run it from the source code you need first to clone from the repository:

$ git clone https://github.com/humrochagf/pyxel-lander.git

After cloned, go to the folder, set up the venv and install its requirements:

$ cd pyxel-lander/
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

With everything installed run the game with:

$ python pyxel-lander.py

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

pyxel-lander-1.3.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

pyxel_lander-1.3.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pyxel-lander-1.3.1.tar.gz.

File metadata

  • Download URL: pyxel-lander-1.3.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

File hashes

Hashes for pyxel-lander-1.3.1.tar.gz
Algorithm Hash digest
SHA256 1dc55c9c7b35effc36f955394ec397169da170957f0946cec4479c881ae2a211
MD5 28b24e94211ac7abcc5d51a4a495f5e9
BLAKE2b-256 4a57463867844f1b83a13ab7e0b7fc3b9370d409972cbe0b1cd227688f1f1d88

See more details on using hashes here.

File details

Details for the file pyxel_lander-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: pyxel_lander-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

File hashes

Hashes for pyxel_lander-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dcda73be8e5e449be2734fd867c6c4c146aff130f8d08cb1d2501f5491a40855
MD5 18dea08e2014fbad0677ae02c1e2314c
BLAKE2b-256 3a0136b3640990433545252851cf96a87de3c5ff8492b134902e8b20899a835f

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