A downloadable tool

Buy Now$1.99 USD or more

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"!

  1. Call VariableDebugInit() in the "Create Event" of an object.
  2. (Optional) Customize Visual Debugger:
    1. VariableDebug_Set_Key( key ) ->  Set the keyboard key which enables the debugger to appear only when this key is being pressed.
    2. VariableDebug_Set_InfoOffset( offset_x, offset_y )   -> Set the visual debugger offset from the mouse point.
    3. VariableDebug_Set_Element_Offset( offset ) -> Set the offset between variables in the visual debugger.
    4. VariableDebugger_Set_ShowBorders( bool ) -> Enable or Disable the borders of debugged object.
    5. VariableDebug_Set_ShowAlways(bool) -> Set visual debugger to be visible even without the mouse hovering over the object.
  3. Call VariableDebugDraw() in the "Draw-End Event" of an object.
  4. (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.
  5. 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! :)

Purchase

Buy Now$1.99 USD or more

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:

VariableDebugger.gml 6.1 kB
vvd_how_to_use.pdf 104 kB

Leave a comment

Log in with itch.io to leave a comment.