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.

Files for pyxel-lander, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pyxel_lander-1.2.0-py3-none-any.whl (8.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyxel-lander-1.2.0.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page