Random Walk Caves Generator
RWCG (Random Walk Caves generator) is procedural 2D caves generation system written for Unity.
Git upm package link https://github.com/vmp1r3/RandomWalkCavesGenerator.git#upm
Cave generation process
Cave generation in Matrix object.
Cave's data is generating inside seperate
Matrix object according to size property and pseudorandom algorithm's result.
On this stage, matrix is filling recursive by walking to different random directions.
Each seed returns same results so if you want to save your result just save seed that you've used to generate cave.
After matrix is generated,
EnvironmentGenerator component, generates separete matrices by slicing main matrix into
separete chunks and provides them to the
MeshGenerator component which generates Unity's Meshes.