プレイ日記
Bonzargoes cactusfriend
Started porting my mapgens over. Currently, as you can see, the rooms don't care if they overlap! Whoops.
9そうだね
プレイ済み
返信[1]
親投稿
Ed CPFace
So excited!
1そうだね
プレイ済み
返信[2]
親投稿
ĦHarry Ramstrong
Nothing wrong with overlapping rooms. Mine overlaps just fine. :D
0そうだね
プレイ済み
返信[3]
親投稿
raimondz raimondxz
Look great. Are your code based on some algorithm for dungeon generation? or are you doing your code from scratch?
0そうだね
プレイ済み
返信[4]
親投稿
Bonzargoes cactusfriend
Thanks!! Yep, it's from scratch. For each room, I'm basically defining a random (within limits) upper-left coordinate, then a lower-right (based on the upper-left) and then drawing each wall and filling the room.
0そうだね
プレイ済み
返信[5]
親投稿
raimondz raimondxz
Ok, I understand. I don't know if you have ideas to connect rooms or avoid overlapping but this guy posted short example about thing he put on his game "Red Rogue"(Thought they are in flash, but the syntax is similar to java). One of them is an algorithm for dungeon generator. Here is the link if you want to take a look. http://forums.tigsource.com/index.php?topic=8467.0
1そうだね
プレイ済み
返信[6]
親投稿
Bonzargoes cactusfriend
Thanks! That's super handy.
0そうだね
プレイ済み