Minecraft-like game

Hi, I’m very new to actual programming and wanted my first real project to be a minecraft esque game. I decided that the terrain generation would be a good challenge, however I’m having some problems with how to conceptually go about making the terrain. My plan for the terrain is to load every chunk as a new level and have the world generate the levels as you go, and use cellular automata for the generation. The main problem I’m running into is that I don’t know how to connect the levels, and keep the terrain on each, on top of trying to generate my own library for the cellular automata to work. Is there a good starting point for this, or any guides that can get me on the right track? I’m planning on splitting it with C++ and blueprints

You can make a chunk as a level, then have one actor that acts as a chunk. That actor would have 4 child actors that you’ll connect to the chunks next to it. Then have either instanced meshes or static meshes spawn at random z cords in a grid (you can watch the UE4 livestream about it). But my advice is don’t do Minecraft as your first project. My first project that I’m working on is a parcore shooter (think Karlson but different graphics, no slow mo, and some other differences), and oh my god it’s difficult. I’ve spent 25 hours just working on aiming which other people do in 5 minutes (quite literally). You should start with something simpler, because once you get into it I guarantee you’ll want to keep going no matter how hard it is, and itll just be bad.Trust.

I think there is a Minecraft for Unreal somewhere on github. I am not sure if it is has terrain generation, but you can try and study it in case if it has :slightly_smiling_face:

1 Like

You have two options: Instanced Static Meshes, or Procedural Meshes. You will also need a good noise plugin (Simplex Noise is good). I strongly recommend downloading this Github repository (it’s for UE5, but all you really need is the source code), and watch the accompanying tutorial. Unfortunately, as DancingRicardo66 said, this will be a difficult project for a beginner.

1 Like