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.
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
oresc
keys.
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
Built Distribution
File details
Details for the file pyxel-lander-1.0.2.tar.gz
.
File metadata
- Download URL: pyxel-lander-1.0.2.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 804f9b6e120a7a3ebc37b40a33dc40444880355c5c5f29e37e4c361b116db849 |
|
MD5 | 2a70b98e1767205780f00f5585b6ca82 |
|
BLAKE2b-256 | 9016891d74014bf435827a616a080755ba287b32d0c0c6f94e8edcb708b1e068 |
File details
Details for the file pyxel_lander-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: pyxel_lander-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15b098ea19bc2d67684ba540a09306b4e9b50cda67c4aa2db75e1a6688bf880a |
|
MD5 | 83774fc0c0dbe213cbe08c84865419b8 |
|
BLAKE2b-256 | 617591ce36c4ec07c1ea21f99248ad10e261750999edbd0d0f756a34c18ad070 |