Skip to content

Instantly share code, notes, and snippets.

@simpuid
Last active September 1, 2020 05:25
Show Gist options
  • Save simpuid/80257ea6e1997a703096f782a4acf9de to your computer and use it in GitHub Desktop.
Save simpuid/80257ea6e1997a703096f782a4acf9de to your computer and use it in GitHub Desktop.

Custom Performance Monitors and Debugger Plugins in Godot

The project is divided into 2 section:

  • Custom Performance Monitors
  • Debugger Plugins

Custom Performance Monitors

PR Link [Merged]

To track user defined performance parameter (it could be either an integer or a float) use the Custom Performance Monitor API.

Usage example and other details are included inside the PR.

Read the documentation of Performance class, after it has been updated, to know more.

Debugger Plugins

PR Link [Merged]

To transfer data between running game and editor, use the debugger plugins.

It was named as Custom Profiler earlier but since it could be used for other purposes therefore the name is changed to Debugger Plugin

Check this demo for a working example.

Other details are included in the PR.

Read the documentation of EditorDebuggerPlugin class and EngineDebugger class, after it has been updated, to know more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment