Posted June 04, 2025 by ome6a1717
I'm excited to introduce AutoMapGen, a powerful room-based map generation system for GameMaker. Whether you're making a roguelike with branching choices or a dungeon crawler with linear paths, AutoMap makes it easy to generate clear, structured node maps with visual output and flexible control.
AutoMap creates structured 2D room layouts on a grid, allowing you to define:
The number of columns (floors/stages)
How many possible room paths exist (the max number of rows)
How often paths merge or split
How rooms are connected (random, all, or closest)
Where special nodes like bosses or side quests should appear
All it takes is two lines:
map = create_auto_map(floor_length, option_count, num_of_room_converges, ...[optional build parameters]); map.generate();
AutoMapGen gives you full control over how your maps are formed:
Use aumap_type.paths
for clean left-to-right progression
Choose connection node types like evenly_split
or weighted_center
Add forced rooms before generation to create your own rulesets (eg. add stores before final room, etc.)
Debug drawing for quick visualization during development (circles and lines)
Custom sprite drawing - set your "icon sprite" and a nine-slice for the connection lines, and AutoMapGen will handle the rest!
Randomness - Apply random node spacing to give every run a unique look while keeping room positions logically placed.
Get AutoMapGen today and streamline your map generation workflow.