Tiny Minecraft clone in C and GLSL using the new SDL3 GPU API
- Procedural world generation
- Blocks and plants
- Transparent blocks
- Directional shadows
- SSAO approximation
- Persistent worlds
Install the Vulkan SDK for glslc
git clone https://github.com/jsoulier/blocks --recurse-submodules
cd blocks
mkdir build
cd build
cmake ..
cmake --build . --parallel 8 --config Release
cd bin
./blocks.exe
sudo apt install glslc
git clone https://github.com/jsoulier/blocks --recurse-submodules
cd blocks
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel 8
cd bin
./blocks
WASDEQ
to moveEscape
to unfocusLClick
to break a blockRClick
to place a blockB
to toggle blocksF11
to toggle fullscreenLControl
to move quicklyLShift
to move slowly