- Edited
Hello!<br>I'm doing a break in my 2D project to try out 3D things, and like with any engine I use I wrote a voxel world generator! HEHEH<br><br>It's not based on the existing Minecraft Godot project, I actually ported code from my previous projects and improved it so it works well in Godot. I even took it a bit further by allowing voxels to have any geometry.<br><br><img alt="" src="https://raw.githubusercontent.com/Zylann/voxelgame/master/screenshots/2016_04_27_2037_half.png" title="Image: https://raw.githubusercontent.com/Zylann/voxelgame/master/screenshots/2016_04_27_2037_half.png" height="453" width="760"><br><br>I just open-sourced the project here: https://github.com/Zylann/voxelgame<br>It's all GDScript with SurfaceTool, so expect world generation to be slow as hell.<br>But thanks to thread goodness the game runs smoothly at 60 fps with a decent viewing range.<br><br>I eventually plan to work on a C++ module to improve number crunching through datagrids and simplex noise buffers, so world generation and mesh extraction could be speed up 100 times faster.<br><br>Edit: I moved voxel stuff to a new C++ module: https://github.com/Zylann/godot_voxel<br>the game requires this module to run. You can still find the pure-GDScript implementation in a branch, but it's no longer updated.<br>