Visual Variable Debugger for Game Maker
A downloadable tool
A simple Game Maker extension for visualizing object variables in-game. Using "show_debug_message" every time when you are debugging is very frustrating, you can use this extension to just add the variables you want, to visualize when the mouse is on top of the debugged object. You can add basic customizations to the visualizer like adding a debug key which shows the visualizer only when the key is being pressed and mouse is on top of the debugged object.
HOW TO USE
(IMPORTANT!) Don't forget to set the controller object who is calling the VariableDebugInit() function to "PERSISTENT"!
- Call VariableDebugInit() in the "Create Event" of an object.
- (Optional) Customize Visual Debugger:
- VariableDebug_Set_Key( key ) -> Set the keyboard key which enables the debugger to appear only when this key is being pressed.
- VariableDebug_Set_InfoOffset( offset_x, offset_y ) -> Set the visual debugger offset from the mouse point.
- VariableDebug_Set_Element_Offset( offset ) -> Set the offset between variables in the visual debugger.
- VariableDebugger_Set_ShowBorders( bool ) -> Enable or Disable the borders of debugged object.
- VariableDebug_Set_ShowAlways(bool) -> Set visual debugger to be visible even without the mouse hovering over the object.
- Call VariableDebugDraw() in the "Draw-End Event" of an object.
- (Tip) You can use draw_set_color, draw_set_alpha, draw_set_font etc. before the VariableDebugDraw() call to customize the appearence of the debugger.
- Call VariableDebug( variable_name_array ) in the "Create Event" of any object to add the variables you want the debugger to show.
Example:
VariableDebug([ "variable0", "variable1", . . . ]);
Thank you, let me know if you have any questions or feedback! :)
Status | Released |
Category | Tool |
Author | Sagy |
Tags | debug, development, gamedev, GameMaker, gamemakerstudio, tool, tools |
Purchase
In order to download this tool you must purchase it at or above the minimum price of $1.99 USD. You will get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.