voxelThing/README.md

29 lines
768 B
Markdown

# 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:
1) Install Raylib.
2) Clone the repo.
3) CD into the repo and build by running make.
4) run bin/voxelThing