Hey guys,
Im in the middle of making a dungeon crawler for IOS using cocos2D. Its pretty simple at the moment. There is a town hub where you can level up, repair gear and get consumables. Then theres the dungeons under the town. This is where you kill monsters, get experience and loot. I want the Dungeons to be randomly generated. This will be determined by the players level.
This is my first attempt at implementing Procedural Content Generation and i'm not sure where to start. I went to the wiki page and did some research. This is what I have so far. Im gonna have a set of about 200 pre made rooms and then some staple rooms like boss room, secret room, loot room etc. Each room will correspond to the players level so as he gets stronger the dungeons get tougher. Im going to make code that says when the player enters the dungeon it will pick a hand full of the rooms at random and slot them together, then spawn random loot and enemies inside them.
Thats the basic idea and I think it will work but I wont know for sure until I start coding.
My question is this. Is there an more optimised way to do this? I know that this has been around since the 80's and theres probably 100's of ways to go about doing it but what i'm looking for is the most simple and efficient way to do this.
Any help would be appreciated and please, only constructive criticism
Thanks a lot,
R