A tile-based multiplayer game with procedural terrain generation (using the Perlin Noise algorithm).
Currently in-development.
- [ZQSD] -> Move player (temporary)
- [LMB] -> Break cobblestone tiles
- [Mouse Wheel] -> Switch item in hotbar
- [Space Bar] -> Show map
- [Escape] -> Pause menu
- [Alt+Enter] -> Fullscreen mode
Before installing the necessary modules, it is recommended to set up a virtual environment. This allows for a clean workspace and avoids installing packages to your global environment.
Set up a new virtual environment. For the sake of conventions, we'll call ours venv
:
python -m venv venv # Windows
python3 -m venv venv # MacOS / Unix
Activate it using:
venv\Scripts\activate # Windows
source venv/bin/activate # MacOS / Unix
Install the pre-requisites:
pip install -e .
Run the game using:
python game\main.py # Windows
python3 game/main.py # MacOS / Unix
If you wish to launch the game with extra debugging information, use the --debug
or -d
flag:
python game\main.py --debug # Windows
python3 game/main.py --debug # MacOS / Unix
Note that using this mode will significantly impact the performance of the game, and therefore should not be used when playing normally.
Developed by SammygoodTunes
Tested on Debian 12 and Windows 10
Libraries used: Pygame 2.5.2, Crayons 0.4.0