Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
![Voxel Level Editor thumbnail image](https://img.godotassetlibrary.com/Xqdo4e_9CQ4wYiK5wJB6P8ufCi2krtHnj3MPBhr_wFQ/rs:fit:640:360:0/g:no/aHR0cHM6Ly9pbWcuaXRjaC56b25lL2FXMWhaMlV2TVRRMU5ESTFOQzg0TkRreE1UZzVMbWRwWmc9PS8zNDd4NTAwLzEzZFZPSC5naWY.webp)
![Voxel Level Editor thumbnail image](https://img.godotassetlibrary.com/2r9jgvt1PmzAgJtbhem4g-hlg62PaFGeyT0lkOWvu-M/rs:fit:640:360:0/g:no/aHR0cHM6Ly9pbWcuaXRjaC56b25lL2FXMWhaMlV2TVRRMU5ESTFOQzg0TkRreE1qRTBMbWRwWmc9PS8zNDd4NTAwL0t0R08zOC5naWY.webp)
![Voxel Level Editor thumbnail image](https://img.godotassetlibrary.com/ReSfJhCu7aoI3EIZ6-VwUbMm_mMAVEpCKmwYGeNsobY/rs:fit:640:360:0/g:no/aHR0cHM6Ly9pbWcuaXRjaC56b25lL2FXMWhaMlV2TVRRMU5ESTFOQzg0TkRreE1qTXdMbWRwWmc9PS8zNDd4NTAwL0NlSFl4bS5naWY.webp)
![Voxel Level Editor hero image](https://img.godotassetlibrary.com/8oDOyAxl9c51A_yWzXf5LKZuoz3EN3tBMcfV9eEADJI/rs:fit:1920:1080:0/g:no/aHR0cHM6Ly9pbWcuaXRjaC56b25lL2FXMWhaMlV2TVRRMU5ESTFOQzg0TkRreE1UZzVMbWRwWmc9PS8zNDd4NTAwLzEzZFZPSC5naWY.webp)
Quick Information
![Voxel Level Editor icon image](https://img.godotassetlibrary.com/q5c0dDq0tqlXdDzg5mUhB99_yIT1j0SxW-2L2lq5wao/rs:fit:50:50:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL3BpeGVsaXB5L0dvZG90LVZveGVsLUxldmVsLUVkaXRvci9tYWluL2ljb24ucG5n.webp)
In-editor level creator based on voxels. After selecting a block from the panel to the left, you can place and delete blocks in your world. This can be used to make voxel based levels!Controls: < Left Click to place blocks>, <shift+left click to erase blocks>
Godot-Voxel-Level-Editor
Level Editor Plugin for Godot
1 - Description:
This is a Plugi-in I made for the Godot Game Engine. It is a in-editor voxel editor plugin.
2 - Features:
- Multiple Brush Sizes
- Backface Culling for optimization and inidividual face drawing
- Robust chunk system for loading/unloading chunks
- multi-threaded chunk loading/unloading based on player position
- Object/Block separation. This plugin understands blocks as individual faces, whilst objects as scenes that can be instanced
- Object Rotation
- All the textures are in one big atlas to optimize draw calls. The atlas textures also support texture separation.
- It supports low and high res textureses
- on the fly chunk creation and deletion.
3 - Controls:
- and to move the cursor Up and Down (changing layers)
- and to rotate objects (currently blocks cannot be rotated)
- to place blocks
- <shift + left mouse click> to remove blocks
4 - How To Use import it into your own project:
- Copy the addons folder into your project
- Enable the plugin
- Make a new scene. The root should be spatial3D, and must have the world_voxel.gd script in it
- Make a child of this node called "Chunks", also spatial3D. Put the chunk_parent.gd script in it.
- You should now be good to go. To add blocks, go to block_types.gd script and follow the instructions. same for objects. The instructions on the texture setup and such should be there.
- To change texture sizes, tile sizes, or set separation between textures, modify the constants in chunk.gd
- You may need to restart the editor for it to work. that's how godot plugins function for some reason.
- This template is using the atlas_texture_material material. Changing it will change your atlas texture. The image used for it is the atlas_texture.png under the textures folder.
- if you change your material, don't forget to also change its settings in chunk.gd. There, you can set: your atlas image size, your tile size, and also the separation between tiles. That way the code will know how to separate the textures in the atlas , and will draw your tiles accordingly
- All of the project is commented and you can modify it to fit your needs.
##5 Known Issues:
- Saving the scene takes long - The Godot Editor always give a "bad comparison function; sorting will be broken" error
final notes:
- There's an example scene into the project, called world.tscn. It has a camera, a functional player and a scene all set up
If you have any questions, feel free to ask!
License
In-editor level creator based on voxels. After selecting a block from the panel to the left, you can place and delete blocks in your world. This can be used to make voxel based levels!
Controls: < Left Click to place blocks>,
Reviews
Quick Information
![Voxel Level Editor icon image](https://img.godotassetlibrary.com/q5c0dDq0tqlXdDzg5mUhB99_yIT1j0SxW-2L2lq5wao/rs:fit:50:50:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL3BpeGVsaXB5L0dvZG90LVZveGVsLUxldmVsLUVkaXRvci9tYWluL2ljb24ucG5n.webp)
In-editor level creator based on voxels. After selecting a block from the panel to the left, you can place and delete blocks in your world. This can be used to make voxel based levels!Controls: < Left Click to place blocks>, <shift+left click to erase blocks>