
GMRoomLoader
A downloadable GameMaker library
Download NowName your own price
Overview
GMRoomLoader is a pure GML Free and Open Source GameMaker library made for creating room prefabs and loading room contents at runtime, AKA "loading other rooms into the current room".
It provides tools to process the data returned by room_get_info(), use that data to load room contents efficiently during gameplay, and clean up created elements when needed.
- Links: GitHub, Documentation, FAQ.
- GameMaker Version: v2024.14.1 (latest Monthly).
- Supported Platforms: all Desktop, likely Mobile and Consoles, no HTML5.
Use Cases
- Procedural Generation. Create custom level templates and place them procedurally throughout your levels (e.g. dungeon rooms, chunks, NPCs or randomized props).
- Chunking. Divide large rooms into smaller sections, loading or unloading them dynamically as the player moves closer or farther away.
- Room Thumbnails. Take screenshots of your rooms and use them in level selection menus, seamless room transitions or loading previews.
- UI. Design your interfaces directly in the Room Editor and load them on the fly in-game (as of 2024.13, this is mostly superseded by GameMaker's UI Layers.
Features
- Pure GML Implementation. No extensions or external tools required.
- Easy Data Handling. Initialize and remove data in multiple ways: Single or Multiple, Array, Prefix, Tag, or All. Retrieve core room info with Getters.
- Flexible Loading. Load Full Rooms, Instances or Tilemaps at any position in the current room - all with optional origin, scaling, mirroring, flipping and rotation.
- Filtering Options. Filter elements by Asset Type and/or layers by Layer Name.
- Full Lifecycle Control. Manage loaded contents with Payload tracking - Fetch IDs and Destroy loaded elements.
- Screenshotting. Capture room Screenshots from anywhere, without ever visiting target rooms - with optional part definition, scaling and filtering.
- Fluent State Builder. Configure optional arguments before loading or screenshotting in a simple, English-like flow.
- Quick Debug Loading. Load any room in the project at the mouse position with fully configurable parameters via the Debug View interface. Perfect for quick testing - no code required!
Credits
- Created and maintained by Gleb Tsereteli.
- Logos and demo rooms designed by Gleb's wifey - Kate ❣️
- Originally motivated by and made for TabularElf's Cookbook Jam #1.
- Thank you to Vadym/YellowAfterlife for inspiring this library with his OG GMRoomPack, various help and ideas.
- Thank you to Topher Anselmo for inspiration and help with the new VitePress-based ocumentation.
- Demo art by Kenney the ✨*Asset Jesus*✨.
GameMaker Awards!
GMRoomLoader was nominated in the Best Tool category two years in a row - at both the 2024 and 2025 GameMaker Awards!
Games Using GMRoomLoader
- Juju Adams' undisclosed commercial games.
- DirtWorld by Joe Baxter-Webb (AKA Indie Game Clinic and KRANKENHAUS).
- Horizonite by Phablix.
- Desukupet by GrogDev and PixelatedPope.
- Project Reality: Shattered by BrewerTheGreater.
- Goober Launch by Geoff Moore.
- And more to come :)
Tutorials
- GMRoomLoader: Simultaneous Room Loading in GameMaker by DragoniteSpam. Michael introduces GMRoomLoader basics and goes over a few interesting edge cases.
| Updated | 2 days ago |
| Status | Released |
| Category | Assets |
| Rating | Rated 5.0 out of 5 stars (7 total ratings) |
| Author | Gleb Tsereteli |
| Made with | GameMaker |
| Tags | cookbookjam, GameMaker, prefabs, Procedural Generation |
| Code license | MIT License |
| Average session | A few minutes |
| Links | GitHub, Documentation, Discord |
Download
Download NowName your own price
Click download now to get access to the following files:
GMRoomLoader v2.4.0.yymps - Local Package 38 kB
GMRoomLoader Demo.yyz 1.2 MB
GMRoomLoader First Setup.yyz 315 kB
Development log
- Vote for GMRoomLoader in the 2025 GameMaker Awards!2 days ago
- GMRoomLoader v2.4.023 days ago
- GMRoomLoader v2.3.040 days ago
- GMRoomLoader v2.2.052 days ago
- GameMaker Awards 2025 - Nominate GMRoomLoader for Best Tool!54 days ago
- GMRoomLoader v2.1.061 days ago
- GMRoomLoader v2.0.061 days ago
- GMRoomLoader v1.8.0Jan 21, 2025





