#How to make a random dungeon generator?

1 messages · Page 1 of 1 (latest)

upper pebble
#

.

last trail
#

ty

#

discord ticket system

upper pebble
#

Yeah lol (:

#

Hopefully this system will make questions more conspicuous rather than being lost after 2 seconds

light oasis
#

This is quite the task. There is a lot to consider.
Usually you want to have building blocks that can be aligned.
So you got a block that looks like this:

# # K # #
# # # # #
A # # # A
# # # # #
# # # # #

that has the connection type "A" east and west and the connection type "K" at north.
Now you need to get all blocks that have at least one "A" and pick one at random to
be placed at the two "A" connections. The same is done for connection "K".
You can use a weight system to make the selection more controlled and
to allow rare room types.

#

If you want to limit the generation then you need to have a global value i
each room can have a value that is subtracted from i when it is generated.
The generation stops when i <= 0

last trail
light oasis
#

You should have building blocks of certain types with different connections on the sides which can be fitted to other connection types.