Get data about a different room (for GameMaker Studio 2.3.0)
A tiny 'run-once' object that visits every room and produces a JSON file filled with room data you can add to your project.
Since GameMaker Studio is currently short of functions such as room_get_width()
or room_get_height()
, it can be difficult to get information about a room you are not currently in. This inspector will collect that data for you, as well as anything else about a room that you specify, for example:
- Instance Positions
- Variables modified after the 'Room Creation' event.
Handy for projects that make extensive use of GameMaker's Room Editor.
The project folder includes an example for a 'Map Viewer', which shows an in-game visual of every room in the game, showing the size, name, and location of objects placed within the room.
Included in this tool are the scripts snap_to_json
and snap_from_json
from Juju Adam's SNAP. Thanks Juju ♥