2D Minecraft Clone

This is a 2D clone of the well-known game Minecraft made in Python using Pygame and ModernGL
I started this mostly as a self-improvement project to learn new concepts like procuderal terrain generation, handling infinite worlds with chunks, different lighting techniques and scenarios in a tile-based system etc...

Installing & Running

Currently the game has no release binaries because of it being in its early stages, you can follow the steps below to install and run the game from source

Windows

You need to have Python version 3.9 or above

  • Download the src folder (or extract it from the repo clone archive)
  • Install the dependencies
python -m pip install pygame>=2.1
python -m pip install moderngl>=5.6
  • Run the entry script
python "C:\...\main.py"

Linux & Unix

You need to have Python version 3.9 or above

  • Download the src folder (or extract it from the repo clone archive)
  • Install the dependencies
python3 -m pip install pygame>=2.1
python3 -m pip install moderngl>=5.6
  • Run the entry script
python3 "/.../main.py"

Controls

Here is the default input scheme until I get the input options in the game available
A, D to move left, right
W or SPACE to jump
SHIFT to crouch
LMB to break blocks
RMB to place blocks
F3 to toggle display debug screen
L to toggle lighting

License

MIT © Kadir Aksoy

GitHub - kadir014/2d-minecraft-clone at pythonawesome.com
2D Minecraft Clone made with Python & Pygame & OpenGL - GitHub - kadir014/2d-minecraft-clone at pythonawesome.com