768 B
768 B
voxelThing
Jake's Raylib Minecraft Clone
Implements a voxel chunk renderer. Chunks are stored as a 3D array of block struct elements which define block types and later other block data. The chunk is converted to a mesh such that only faces exposed to air blocks or the chunk boarders are rendered.
Code is rough and messy and not much is implemented yet.
Once a chunk has been generated, its state is persistent across game restarts.
Controls:
- WASD - move
- Left Shift - Down, Space - Up
- Mouse - look
- LMB - Remove block
- RMB - Place Block
- ESC - Pause
- F11 - Fullscreen
- 1-8 - Select Block
Depends on Raylib.
Build Instructions:
- Install Raylib.
- Clone the repo.
- CD into the repo and build by running make.
- run bin/voxelThing