rt-shell is a simple, powerful, and full-featured debug/cheat console for GameMaker 2.3 and up! Want an easy way to jump between different levels of your game? Or test a powerup? Or enable a debug view? How about giving your players a way to enter cheat codes? rt-shell is exactly the tool you need.
For full instructions configuration and writing your own scripts, visit the Github page: https://github.com/daikon-games/rt-shell#readme
Create an instance of
obj_shell in the first room of your game and you're ready to go.
By default the console can be opened in-game by pressing
Ctrl + Shift + C,
and it can be closed by pressing
Any global function you write that starts with
sh_ can be run via rt-shell at runtime. For instance,
a function called
sh_set_max_health could be called from the rt-shell console
Your functions can take an
args object to pass in arguments.
arg will always be the
name of the function, while
args and up will be the values typed in at the console.
If your function returns a string, it will be printed in the console output.
rt-shell 3.0.0 is a major release with new features and bug-fixes!
Add metadata to your commands to see autocomplete suggestions and hints! Check out the README on GitHub for more information.
Line-wrapping, scrolling through past output, clearing the shell, and text-insert mode make the shell experience nicer than ever.
Fixed plenty of bugs.