Idea for a dynamic generator:
Lets say you want a generator for making a specific adventure.
that you can define by script:
AreaA
-leave AreaA a though a door
-there is a another locked door #1
AreaB
-find a weapon
-find a helmet
AreaC
-fight a rat
-find a healthpack
AreaD
-find Key #1 for a Door #1 in Area A
AreaA
unlock Door -> passage to Area E
AreaE
fight 3 goblins
now what you can do already is generating a string of rooms and passages.
Lets assume all rooms have the same size, and lead from left to right.
Room AreaE is special, and is placed below AreaA
The generated Dungeon looks like this:
[A] [B] [C] [D]
[E]
And each room contains items as defined
Now this looks boring, but already represents your dungenon logically.
*********
Next Step:
randomly alter/adjust the rooms, passages and positions ,
as long as none of the conditions above is invalidated.
This could be done by moving / scaling / relatively rotating the rooms randomly, updating the passages between them.
Any change that makes them (or the passages) intersect will be rolled back (invalid) and the next random change is tried.
lets say the dungeon looks like this (ok ASCII is not really usefull here)
[BBBBBB] [C CCCCC]
[AAAAAAA] [DDDD]
[EEE]
You basically bend and twist the vector-grid of the generated room layout to make it look more random.
-> like Origami or making a baloon dog
It should work well for maps where you dont need to seuqeeze everything into small space (where other methods make more sense)
The advantage is that you can precisely define the flow of the level, and balance it quite well.