globalcitizen / zomia

Roguelike game set in ancient Yunnan.
GNU General Public License v3.0
53 stars 4 forks source link

3-door issue #6

Closed globalcitizen closed 8 years ago

globalcitizen commented 8 years ago

Fix bug where sometimes 3 or perhaps 4-way doors are generated, but cannot render right (Just throw away those maps and regenerate)

globalcitizen commented 8 years ago

Forget throwing away the maps, just scan after generation and throw away the door.

Also, there is a related issue where two doors are spawned diagonally adjacent. This results in graphical quirks when both doors are opened. Best to nix one of those at random, too.

globalcitizen commented 8 years ago

Resolved the main issue. Secondary issue is not yet solved.

globalcitizen commented 8 years ago

Fixed secondary issue.