@MidnightSt hi. it is my own algorithm, altho i hesitate to call it that since it is extremely simple at this point.
basically it just creates a randomly sized starter room, picks a wall/direction at random and builds another room off from there, then does the same from that new room. there are a few simple rules it goes by, such as adhering to minimum and maximum sizes, and making sure that each room connection has a minimum lip" size.
... it randomly chooses whether the next room will be smaller or bigger than the previous (and tries again if it goes outside acceptable room size ranges. currently there is a random amount of rooms because there is a maximum number of tries before it gives up. because sometimes the trail of rooms snakes around into itself where it can't build anymore valid rooms that don't intersect existing rooms. i'm sure it will wind up much more complex eventually, but i'm happy with these results ATM
This looks really cool. Do you have a twitter or web presence so one can follow the progress of the project?
joeyheadset 10 months ago
@joeyheadset thanks. i'm "CazCore" on twitter, altho i rarely tweet much right now. also have "CazCore" youtube account.
corpusc 9 months ago
i love the shape of those rooms, what algorythm did you use?
MidnightSt 1 year ago
@MidnightSt hi. it is my own algorithm, altho i hesitate to call it that since it is extremely simple at this point.
basically it just creates a randomly sized starter room, picks a wall/direction at random and builds another room off from there, then does the same from that new room. there are a few simple rules it goes by, such as adhering to minimum and maximum sizes, and making sure that each room connection has a minimum lip" size.
corpusc 1 year ago
... it randomly chooses whether the next room will be smaller or bigger than the previous (and tries again if it goes outside acceptable room size ranges. currently there is a random amount of rooms because there is a maximum number of tries before it gives up. because sometimes the trail of rooms snakes around into itself where it can't build anymore valid rooms that don't intersect existing rooms. i'm sure it will wind up much more complex eventually, but i'm happy with these results ATM
corpusc 1 year ago
@corpusc cool
ledgendaryk 1 year ago