Dungeon Generationnn!

Get help using Construct 2

Post » Sat Feb 09, 2013 11:26 pm

I will not stop coming up with these kind of questions, will I? Hey guys, I'm making a dungeon crawler, and was trying to make something like this: https://bitbucket.org/nickgravelyn/dungeon/overview Pretty cool. Anyhow, I tried to do that, but my try at that was not so efficient nor did it work. This is what I have:

So, can anyone tell he how to do this Or point me in the right direction?
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Sat Feb 09, 2013 11:44 pm

http://pcg.wikidot.com/pcg-algorithm:dungeon-generation
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Sun Feb 10, 2013 5:14 am

Well, I can't help you with a tutorial at this point, as I am still doing babysteps in C2, but read a lot of the pcg wikia (recomended above), and check out roguebasin (http://roguebasin.roguelikedevelopment.org)for articles and algorithms on random dungeon generation.

There are also tutorials on dungeon generation for both C2 and CC on this forum. Alas, it is late and I am sleepy, but I will attach the links soon.

Saying that, I would love to see a .capx on how to approach this type of random dungeon generation in C2.
B
16
S
3
G
5
Posts: 44
Reputation: 3,231

Post » Sun Feb 10, 2013 7:22 am

Here are couple of examples:
Forest generation Not originally by me, I've only edited most of it.

Dungeon generation via array by me, this might be what you are after. You'll need to add smarter algorithm for array generation though :)
B
24
S
8
G
7
Posts: 756
Reputation: 7,202

Post » Sun Feb 10, 2013 10:06 pm

@vee41 Thanks! I think I figured something out, but I cant seem to stop 1x1 rooms and rooms you cant get to from generating. Hmmmm. Here's my CAPX if you want to take a look: http://dl.dropbox.com/u/61808535/Invaderr.capx I think it has something to do with walls diagonal to each other.InvaderX2013-02-10 22:19:37
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Wed Feb 13, 2013 10:28 pm

Hmmmm
B
29
S
7
G
3
Posts: 361
Reputation: 6,187


Return to How do I....?

Who is online

Users browsing this forum: flemmig, GSquadron, jeffige, MisterAqua, Nifl, paala and 23 guests