x


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.

more ▼

asked Mar 16 '10 at 08:10 AM

MiRoMe gravatar image

MiRoMe
13 1 1 5

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

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.)

more ▼

answered Mar 16 '10 at 08:15 AM

Eric5h5 gravatar image

Eric5h5
80k 41 132 518

(comments are locked)
10|3000 characters needed characters left

I am working on a library to generate pseudo random numbers in Unity. May be you are interested in use it/contribute to it:

http://u3d.as/content/tucanosoftware/unity-random/2Sg

more ▼

answered Apr 27 '12 at 02:12 AM

tucano gravatar image

tucano
1 1

(comments are locked)
10|3000 characters needed characters left

Sure you can. Unity won't write the scripts to do it for you, but what would be the fun in that...?

more ▼

answered Apr 27 '12 at 02:18 AM

Kiloblargh gravatar image

Kiloblargh
1k 33 54 69

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x570
x322
x298
x91

asked: Mar 16 '10 at 08:10 AM

Seen: 4473 times

Last Updated: Apr 27 '12 at 02:18 AM