Infinite Cave

Loading SWF for the first time...

Adobe Flash is required to run this project in the browser. Enable Flash

A super-rushed demo of an infinite cave, done in two days for procjam. This is basically a biased drunken walk from one side of a chunk to another such that each chunk is guaranteed to be connected. The path is then slightly widened for more potential maneuverability and a simple cellular automata algorithm is run to smooth the edges.

Small oversight I made is overestimating Flashpunk's randomization capabilities, so you'll see a few chunks that look practically identical every once in a while.