Cubyz
Voxel sandbox game with a large render distance, procedurally generated content and some cool graphical effects.
Install / Use
/learn @PixelGuys/CubyzREADME
Cubyz
Cubyz is a 3D voxel sandbox game (inspired by Minecraft).
Cubyz has a bunch of interesting/unique features such as:
- Level of Detail (→ This enables far view distances.)
- 3D Chunks (→ There is no height or depth limit.)
- Procedural Crafting (→ There are infinite possibilites for tool crafting.)
About
Cubyz is written in <img src="https://github.com/PixelGuys/Cubyz/assets/43880493/04dc89ca-3ef2-4167-9e1a-e23f25feb67c" width="20" height="20"> 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.
History
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 <img src="https://avatars.githubusercontent.com/u/39484230" width="20" height="20">zenith391 and <img src="https://avatars.githubusercontent.com/u/39484479" width="20" height="20">ZaUserA. Back then, it was called "Cubz".
However, both of them lost interest at some point, and now Cubyz is maintained by <img src="https://avatars.githubusercontent.com/u/43880493" width="20" height="20">IntegratedQuantum.
Run Cubyz
This section is about compiling a dev version, if you just want a precompiled version, go to releases
The Easy Way (no tools needed)
- Download the latest source code
- Extract the zip file
- Go into the extraced folder and double click the
run_linux.shorrun_windows.batdepending on your operating system. - Congratulations: You just compiled your first program!
It doesn't work?
- If it doesn't work and keeps running for more than 10 minutes without doing anything it can help to kill and restart the process. A few people seem to experience this, and I have not found the cause. It might also help to delete the
zig-cachefolder. - If you see an error message in the terminal, please report it in the Issues tab or on the Discord server.
- Otherwise you can always ask for help on the Discord server. If you are unable to get it compiling on your machine, you can also ask on the Discord server and we may compile a release for you.
The Better Way
- Install Git
- Clone this repository
git clone https://github.com/pixelguys/Cubyz - Run
run_linux.shorrun_windows.bat, if you already have Zig installed on your computer (it must be a compatible version) you can also just usezig build run - When you want to update your local version you can use
git pull. This keeps everything in one place, avoiding repeatedly downloading the compiler on every update.
Contributing
Code
Check out the Contributing Guidelines
Gameplay Additions
Check out the Game Design Principles
Textures
If you want to add new textures, make sure they fit the style of the game. It's recommended that you have baseline skills in pixel art before attempting to make textures. A great collection of tutorials can be found here
If any of the following points are ignored, your texture will be rejected:
- Resolution is 16 x 16
- Lighting direction is top-left for items and blocks.
- Keep colour palettes small. Do not use near-duplicate colours, do not use noise, filters, or brushes that create unnecessary amounts of colours. Most blocks can be textured with ~4-6 colours.
- Reference other block textures to see how colours & contrast is used. Test your textures ingame alongside other blocks.
- Blocks should tile smoothly. Avoid creating seams or repetitive patterns.
- Use hue shifting conservatively. Take the material into account when choosing colours.
- Items have full, coloured, 1-pixel outlines. It should be shaded so that the side in light (top left) is brighter, while the side in shadow (bottom right) is darker.
- Items should have higher contrast than their block counterparts.
Your texture may be edited or replaced to ensure a consistent art style throughout the game.
For further information, ask <img src="https://avatars.githubusercontent.com/u/122191047" width="20" height="20">careeoki on Discord. She has made a majority of the art for Cubyz.
Related Skills
docs-writer
99.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
337.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
arscontexta
2.9kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
zola-ai
An autonomous Solana wallet agent that executes payments via Twitter mentions and an in-app dashboard, powered by Claude.