- Home /
How Can I make random level generation?
So i am trying to make a game that has the same level generation like minecraft. I am using all cubes. I know about the chunks but what i dont know how to do is to make the chunks. Do i make them by hand? Do i write a script to make the chunks? How can i do this? I have been looking into the Perlin Noise stuff but not finding anything. Thanks for the help
Answer by MarlonH · Jun 21, 2014 at 07:08 AM
you will work with random values. Use Random.value to randomize values and logic to instantiate objects or edit the terrain mesh.
I make a Minecraft game Style for Android with random.Value end Random.seed, end i edit The mesh to create a terrain. It's works fine :)
Answer by Endless_Aftermath · Jun 21, 2014 at 04:11 AM
There are a lot of tutorials out there for this, but I''m going to save you the trouble of watching and reading a lot of tutorials that go through the motions without explaining a lot of it. This tutorial is the best that I've found and explains everything you need to know especially if you want to make your own modifications.
http://studentgamedev.blogspot.com/2013/08/unity-voxel-tutorial-part-1-generating.html
Thank you for answering. I sort of figured out how to make levels using perlin noise. But another problem I ran into was how can I texture the blocks properly? Like with grass on top and rock underneath etc... thanks for replying.
Answer by Maynk · Dec 02, 2020 at 08:35 AM
Check This : https://answers.unity.com/questions/531567/3d-random-level-generation.html I Hope You Given Answer When You Check Properly