CubeMining A 3D Voxel Template

The project is MIT licensed you can fork or contribute etc

You can play here: CubeMining by cenullum

15 Likes

Works perfect on my machine (160FPS!), thank you so much for sharing!

Maybe I’ll finally make my sons’ dream to make a Minecraft game come true :sweat_smile:

4 Likes

You can play here: CubeMining by cenullum

Fixed the bug and optimized little more

and I must do the logo of defold

8 Likes

Items are just png images and turn to 3D voxels at runtime. you can adjust depth

10 Likes

mouse npc ( I used blockbench to model it )
recording_20260214_014218

sun light
basic character movement gravity jumping etc (Swept AABB )
golden ore
unbreakable blocks at bottom

10 Likes

Really nice!
I came across this video:

This is sick! Your next game maybe?

4 Likes

1 Like

Good stuff! and very readable code, which is cool.

1 Like

Why does the game render so differently in the editor than a release build? (I guess I should know this, but I am puzzled):

1 Like

Insteresting. I dont know how it is happened. Did you change something? Are you on windows? @iotaHum. Maybe because of floating point issue of shaders that cause to take wrong texture from atlas

Linux (Ubuntu 22.04). Nothing changed.

Can you send the linux build please? And Is texture of mouse also same? Can you spawn one mouse?

The texture/UV issue is the same for me on windows.


The mouse texture is displayed correctly.

1 Like

A Linux built executable works correctly. It is when running in the editor (control-B) the different output occurs. The mice stay the same.

No worries, no stressing. It is an excellent contribution you have made.
I guess it is something in voxelizer.script
I don’t understand how it works well enough, I need to do a lot more staring.

2 Likes

Yes I also tested windows seems weird but linux fine. I will check tomorrow more detailed