Procedurally generated dungeons for Dungeon Madness pt. 2
I’ve been working for past weeks on random generated dungeons. I’ve managed to add debris generation and some basic monster generation. Though, this needs thorough testing and I will get to it as soon as I have time.
Also I’ll be adding crafting to Dungeon Madness. Currently I have finished only barebones back end stuff, but my artist is already working hard on new items. But more on that maybe in next blog post.
As example, I would like to post here a whole generated level. First there is a width, height and texture pack line. Then there is layout of tiles. After #scripts there is a layout for scripts. Script map is loaded and then I go by commands one by one. Let’s say there is a ‘g debris TABLE’, that means I find every ‘g’ character on script map and put a TABLE there. Very simple, yet very effective.