26 lines
635 B
Markdown
26 lines
635 B
Markdown
# voxelThing
|
|
Jake's Raylib Minecraft Clone
|
|
|
|
Implements a voxel chunk renderer. Chunks are stored as a 3D array of block structs 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.
|
|
|
|
Controls:
|
|
- WASD - move
|
|
- 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) Build by running make.
|
|
4) run bin/voxelThing
|
|
|