Minecraft Terrain Clone

Hey guys,



I’m a beginner with JME but with lots of experience in Java. I read the beginner tutorials and this stuff and want to make some little game trys. I was wondering how to make a random “endless” terrain like this in minecraft or the game “Mythruna” which was built with JME. Maybe someone can give me a starting idea or the principe how this works. :slight_smile:

Do you just want to create an endless, procedural generated terrain, or do you want a box world in which you can also add / remove boxes?



The former is quite easy, the latter not so much.

“little game try” and “endless terrain like minecraft” just don’t go together.

1 Like

Just because Minecraft graphics are simple doesn’t mean that the game has a low complexity. It’s a hard thing to do, and I’d not start with something so big if I were you.

1 Like

Start with something simple like a 3D tetris game or something - for a beginner that will be enough of a challenge. Many people mistakenly think that Minecraft is a simple game to make…

If you want stuff to read up on though read up on Voxels and Voxel Terrain.

someone needs to write detailed voxel (boxworld tutorials), although this would probably decrease forum activity by half :slight_smile:

1 Like

i hoped it’s everything they need:



http://hub.jmonkeyengine.org/groups/free-announcements/forum/topic/simple-voxel-engine-starter-kit/



but i never looked into it.



but who knows, if someone will make a good library and extend it, maybe it will be good as Forester :stuck_out_tongue:

The only thing that would generate is dozens of requests why the engine does not support box-voxel worlds out of the box.



Btw, there is more then one type of voxel world. MineCraft is a box world. but there are others. I’m using marching cubes (na, it’s marching tetrahedrons in realilty) to create an isosurface from a scalar field, that is also a voxel world, but not a box world. You can’t manipulate my world, though. At least not in a minecraft-ish way :smiley:

Ok, so I should probably not begin with Minecraft :smiley: I already looked up at “TerrainGrid” but I can’t figure out how to intantiate it D: Is there somerwhere a tutorial for it? To make a procedural customTerrain :slight_smile:

Start from the terrain tutorial then work out from there switching/enhancing stuff as you need.

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_terrain

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:terrain

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:endless_terraingrid



the last one is about infinite terrain

I have learned one thing, today when I read this topic :smiley: .