Here is the super useful developer debug console for all GameMaker projects!
This developer console allows you to quickly edit and debug your game while it is running. It is packed with features like the ability to create and destroy objects, turn debugging tools on and off, view and edit variables and many other things.
I can never remember what I have called my variables and objects so it auto completes everything from scripts and rooms to objects and variables.
It’s been made easy to add to your GameMaker games, you just add obj_console and font_console into your project from the GameMaker Marketplace and create the console when your game starts. You don’t need to edit any of the console it will automatically scan the project and add everything.
Add this to your projects to allow you to easily debug things while you have your game open without needing to edit any code.
While your game is running you can press a button to open the Developer Console. Simply type in these commands to either create or destroy objects live while your game is open.
Instantly create graphs of any object value. This automatically determines if it needs to graph an int, display a string or look at a whole array. You can easily update these values as well.
edit obj_player.jump_height 20 //change the players jump height
Easily customise the colours, sizes, animation speed etc.
Auto complete variables, object names, room names, scripts as you type commands in.
It keeps a history of past commands across sessions so it is really easy to get to common commands.
Just add the one object and one font into your project (which can be found on the market place) and run this code when your game starts:
The console can be opened with the F1 key (this can be changed and multiple keys can be added to open/close the console)
Change game speed. Often its helpful to slow down the game to make sure animations are frame perfect or speed up the game so you don't have to wait.
Room goto. Easily jump to rooms to help you test different levels and screens so you don't need to...
Very light weight. While closed it has almost zero impact on performance, and even when open...
Highly customisable, change the keys to open and close it, change animation speeds, change borders and sizes, change the font size.
Turn on debugging tools...
Multiple ways to input
edit obj_player hp 100
edit obj_player.hp 100
Has all the textbox functionality you expect like being able to copy and paste, use Shift + Arrow Keys to select, Ctrl + Backspace to delete whole words, mouse controls. And many minor things.
And many other features like toggling full screen and creating debug events so you can track them in the debugger.
Check to see if you missed anything.