Rogue-like Maze Generator
A downloadable asset pack
UPDATED FOR GMS 2.3+!!!
This project contains a set of BSP (Binary Spacial Tree) Maze Generator scripts, which are ideal for procedurally generated games like rogue-likes, adventures, or even Spelunky-style platformers.
FEATURES
- Easy to use
- Easy to customise
- Only four main variables modify radically the maze generated
- Fully commented code
- Adapts to any room size
- Accepts any base "tile" resolution.
- Includes scripts to spawn walls, doors, enemies, potions... whatever you need!
- Demo room with player, walls, doors, floor etc...
Further Information
BSP stands for Binary Space Partitioning, and it's a method of dividing up an area. In this case, it's used in a series of scripts that can be used to generate a maze (or map, or dungeon) for any game, complete with rooms, corridors and doors. The engine adapts to any room size and base tile size, and it can be adjusted is several ways to get different results each time.
You can also use these scripts (with a minimum of customisation) to add features to your created mazes like enemies, switches, power-ups etc.
NOTE: While I strived to make these scripts as accessible as possible, you will need to know the GameMaker Language to use them and they are not recommended for absolute beginners.
The demo project supplied with these scripts permits you to test the main features of the engine and you can get an idea of how it works in a real game by pressing <Backspace> from the main options room. This will create a maze using your set parameters and add a player, walls, doors, floor tiles and some enemies.
This set of scripts is particularly suited to use my Autowall, Object Optimisation and Aura Lighting scripts which can be found from the following links:
The full set combined give you a highly optimised and graphically consistent maze/dungeon map for your rogue-like or adventure games.
Status | Released |
Category | Assets |
Author | Nocturne Assets |
Made with | GameMaker |
Tags | asset, GameMaker, Generator, maze, Procedural Generation, scripts |
Asset license | Creative Commons Attribution v4.0 International |
Average session | About a half-hour |
Links | Homepage |
Purchase
In order to download this asset pack you must purchase it at or above the minimum price of $5.99 USD. You will get access to the following files:
Comments
Log in with itch.io to leave a comment.
how to add two or three pre-made special room and merged into a full generated room?