Voxel sandbox game with a large render distance, procedurally generated content and some cool graphical effects.
Cubyz is a 3D voxel sandbox game (inspired by Minecraft).
Cubyz has a bunch of interesting/unique features such as:
Cubyz is written in Zig, a rather small language with some cool features and a focus on readability.
Windows and Linux are supported. Mac is not supported, as it does not have OpenGL 4.3.
Check out the Discord server for more information and announcements.
There are also some devlogs on YouTube.
Until recently (the Zig rewrite was started in August 2022) Cubyz was written in Java. You can still see the code in the Cubyz-Java repository and play it using the Java Launcher. // TODO: Move this over to a separate repository
Originally Cubyz was created on August 22, 2018 by zenith391 and ZaUserA. Back then, it was called "Cubz".
However, both of them lost interest at some point, and now Cubyz is maintained by IntegratedQuantum.
run_linux.sh
or run_windows.bat
depending on your operating system.zig-cache
folder.I also had to install a few -dev
packages for the compilation to work:
sudo apt install libgl-dev libasound2-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxext-dev libxi-dev
git clone https://github.com/pixelguys/Cubyz
run_linux.sh
or run_windows.bat
, if you already have Zig installed on your computer (it must be a compatible version) you can also just use zig build run
git pull
. This keeps everything in one place, avoiding repeatedly downloading the compiler on every update.Try to follow the style of the existing code. The check_format.py
file can be used to find violations of indentation and line endings. // TODO: Add a full style guide
If you have any more questions, you can ask them over on Discord.
If you want to add new textures, make sure they fit the style of the game. If any of the following points are ignored, your texture will be rejected: