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.
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
Built Distribution
File details
Details for the file pyxel-lander-1.2.0.tar.gz
.
File metadata
- Download URL: pyxel-lander-1.2.0.tar.gz
- Upload date:
- Size: 6.0 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 | f4d4503ecd053ab77f3b659adabc3cb4fa08988d53a60faf69ae28ba2aa6bce3 |
|
MD5 | 8021b120cbdcf141cf899958c7130796 |
|
BLAKE2b-256 | 0ee9e77980ff189db5ea6febc13a104fff45aae43c6cf1dd46da28d5f7ca3479 |
File details
Details for the file pyxel_lander-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: pyxel_lander-1.2.0-py3-none-any.whl
- Upload date:
- Size: 8.2 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 | 4bb8b6e19b68625188d40e90d6bcfec8dbd36f2223e7f0a804ac7b9c13e02e24 |
|
MD5 | 81f6355e7432862a5cefbe67ca6cc342 |
|
BLAKE2b-256 | 3c9c4a281fe3a54024de98c67d9e793df948bd513aaa1170d2654eb464dcd00c |