RandomRoom Generation

Started by Suto, Sun 29/02/2004 06:01:54

Previous topic - Next topic

Suto

I would like to have an appartment building hallway with doors that generate a different room each time you go into them.  Can I make something that just changes everything around in the room as Items?
It wouldent be very cool to have to make every room individually, more like just set up moving the objects around.  And there will be plenty objects to choose from.

Gregjazz

Yeah, what you're going to want to do is make a 'randomizer' section in the 'player enters screen (before fadein)' section of the room script. First, make a random seed number, and then define the different locations of objects by referring to that seed number.

You might even make the background change a bit by using different frames of the animated background.

SMF spam blocked by CleanTalk