A voxel game project.
This project is built with OpenGL 4.6 and thus will not work with MacOS until I build a backend to support that OS.
I am developing this game using Windows 11 Pro NVDIA GeForce RTX 3060 Laptop GPU and a GeForce RTX 3070 Desktop GPU.
Currently using zig version 0.12.0 to build.
The project must currently be run from the projects root directory.
zig build run
Should do it. Note, lua script evals are much slower in debug builds than they are in fast release builds.
There is a very mimial default world that is created on first run. Setting up a world requires writing lua scripts for textures and blocks. There are a few in the src/script/lua folder to get started with. Most of chunk scripts assume block ids that will not match what you create.
The order to build a world from scripts is: