CCraft is a simple Minecraft-like voxel game written in C++ and OpenGL/GLFW.
- [X] Chunking system with 16x16 chunks
- [X] World generation using Perlin noise
- [X] Face shading based on sun’s position
- [X] Face texturing
- [X] Free camera movement (WASD, SPC, shift)
- [ ] AABB physics
- [ ] Breaking & placing blocks
- [ ] Vegetation generation e.g. trees, flowers
- [ ] Cave generation
- [ ] Fluids e.g. water
- [ ] Modding?
Dependencies:
- CMake >3.10.0
- A C++20-compatible compiler (clang++ recommended)
- GLEW and GLFW libraries (install from a package manager e.g Homebrew)
Build with CMake by running:
cmake build
cd build && makeThe resulting binary will then be in build.
Caution
CCraft will not run without the content folder in the same directory as the binary.
Minecraft is a registered trademark of Mojang Studios and Microsoft.