Random map generation

Yep! I just updated the place file to support any number of tile types.
You can find and add new ones in ReplicatedStorage and also block 118 of the module script.

You can change the chance for an exit to spawn in line 33 of the module script. You could also add a method to check if there are any other exits that are too close nearby, but that would require having to loop through the entire chunk list again.

ChunkTutorial.rbxlx (63.6 KB)

Also, the checkForOverlappingChunk() method is, unfortunately, necessary for the generation to function properly.

Alrighty then, I think I’m gonna leave this topic off here then for now. Good luck!

3 Likes