A downloadable tool

Buy Now$1.99 USD or more


This is a GameMaker Studio 2 demo project and standalone GML script for level generation using a drunken/random walk algorithm. The script is accepts arguments for direction randomness, object creation, and tile size.

Additionally the script implements bitmask tiling for full 48 tile tilemaps if they are created in the same order as the provided example. This allows for full random level generation for 2D  Top Down/Isometric games.

Download LevelGenDemo.zip for free to see a real time interactive demonstration.

This tool includes the following items:

  • Functioning Demo Project w/ Script Implemented
  • LevelGen.gml script file that can be added to any current GMS project.
  • Demo tilesets for wall and floor tiles.

The script assumes you have the following created:

  • Room
  • Wall Tileset - 48 tiles
  • Floor Tileset - 16 tiles
  • Wall Tile Layer in Room Editor
  • Floor Tile Layer in Room Editor


Buy Now$1.99 USD or more

In order to download this tool you must purchase it at or above the minimum price of $1.99 USD. You will get access to the following files:

LevelGen.zip 63 kB
wall_tiles.png 5 kB
floor_tiles.png 1 kB

Download demo

LevelGenDemo.zip 1 MB

Leave a comment

Log in with itch.io to leave a comment.