New account registrations are disabed. This website is now an archive. Read more here.

(Unity) Random dungeon floor generator

Video    Posted June 30, 2017

Took me way too long to get this working.

It uses 3 sprites: A floor (white square), a wall (gray square distorted to be a rectangle), and an L shape for the coridors (3 gray squares). My biggest problem was figuring out that I had to account for every possibility before using RNG and only use RNG if it's absolutely sure it doesn't matter if there is a wall or coridor.

Comments (4)

Leave a Reply


Bob423

  • about 8 years ago

Stats

305 views

4 comments

Tags

procedural generation rng Unity