I've prototyped a simple roguelike dungeon generator in Construct, and thought I'd post it for informational purposes. I'm looking into different methods, but I like this one so far.
I'd most likely implement it as pure data, without the visual creation, if I use it, since it can be quite slow with some settings. Also, the way that I implemented differing dungeon sizes is suboptimal, and can cause problems because of object scaling. I intended it for 40 x 30, and 80 x 60 sizes, though others may work fine, too.
It can be easily serialized into an array, since I use strict boundaries on the size.
It uses a simple scoring system to place rooms, with a user-set number of attempts, in order to avoid overlapping rooms. If those, or speed, are desired, use 1 or another low number.
It digs corridors between rooms to make sure that all are connected, with a chance to wander around on the way there. This can be set to get quite different results. The more wandering, the longer it takes to create, though.
Download the .cap from the attachment at the bottom of the post. This requires Construct v0.99.92 or later.
Here are a few results with different settings:
<img src="http://dl.dropbox.com/u/5868916/Images/shot1.PNG">
<img src="http://dl.dropbox.com/u/5868916/Images/shot2.PNG">
<img src="http://dl.dropbox.com/u/5868916/Images/shot3.PNG">
<img src="http://dl.dropbox.com/u/5868916/Images/shot4.PNG">
<img src="http://dl.dropbox.com/u/5868916/Images/shot5.PNG">