This Random Cave Generator creates sprawling, intricate dungeons or caverns stored in a ds_grid, which allows a level to easily be generated from it. Changing the parameters can wildly alter the generation, creating cave systems of numerous shapes and sizes with no disconnected areas or islands to worry about.

Also included is an intelligent water creation script, which adds water at any coordinate, sensibly filling up the caverns below using a special algorithm which is guaranteed to perfectly will the map without any strange holes or air pockets that would not occur in real life (and are seen all too often in other games!).

The code is fully commented and easy to follow.

End User Licence Agreement (EULA).

Changes in 1.0.0

initial commit

Version 1.0.0. Published July 16, 2014

Created with GameMaker: Studio v1.99.177

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


S X 25 November 2018


Alex M 16 November 2014

Very Excellent!

Only wish is for the alternative code which forces paths to unreachable sections instead of restarting, tends to take up to 8 or 10 seconds on some caves without it.


Package contents

Loading, please wait

What is the issue?

Back to Top