gamemaker-studio-inspector/README.md
2025-12-14 21:10:14 +01:00

20 lines
875 B
Markdown

A runtime instance inspector for GMS1
## Setup
1) Add the files in the right order: objDebugList first, everything else after
2) Call scrDebugInspectorInitialize with the name of the global for determining whether the game has been started
example:
```
scrDebugInspectorInitialize("gameStarted")
```
3) Run the game and click on the screen
- Middle mouse button brings up a searchable list of instances in the room
- Left mouse button will inspect all objects under the cursor
- Right mouse button will quit out of the currently open lists
## Other setup
The other two arguments for the initialization function are optional but nice to have.
- `debug_key`: Sets a keyboard key that must be held before its possible to bring up the inspector using mouse buttons
- `font`: Font to use instead of the default font. Monospace works best.
![Demo]("images for readme/demo.gif")