- Home /
Randomly Generated Levels
I am wondering if Unity has the ability to randomly generate the layout of a scene/level on loading the scene, either by doing it all from scratch with code or even better using a script to pick from a bunch of different models that can make up the level and linking them together in a way that works.
I haven't actually used Unity yet but Australian Internet is really terrible so I'm waiting to see if it can do what I'm after before I commit to downloading it.
Answer by Eric5h5 · Mar 16, 2010 at 08:15 AM
You can do pretty much anything you want with Unity, including generating levels randomly. (See Realmaze3D, a Unity game. The walls/maze are made with code, then models of ladders/lights/various objects are put in appropriately.)
Answer by tucano · Apr 27, 2012 at 02:12 AM
I am working on a library to generate pseudo random numbers in Unity. May be you are interested in use it/contribute to it:
Answer by Kiloblargh · Apr 27, 2012 at 02:18 AM
Sure you can. Unity won't write the scripts to do it for you, but what would be the fun in that...?
Your answer
![](https://koobas.hobune.stream/wayback/20220612112526im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
3D random level generation. 1 Answer
how to create random levels. like a golf game 3 Answers
3D random level generation. 1 Answer
how to procedurally generate submarines with random events on the sub? 0 Answers
Procedural Generation... 2 Answers