Wednesday, November 29, 2017

Dungeon Generator

Here is a fairly simple dungeon generator, this script would be good for a randomly generated top-down game like binding of Issac. I only have several rooms in the example, but the system is fully expandable.

I've ensured that the exact amount of rooms is always created, and there are never inaccessible areas. if there were specific rooms required in each dungeon, they could simply be slotted into the code (for instance: boss rooms in binding of Issac)

No comments:

Post a Comment