Skip to content

Plugin for Godot 4.3. Signal Lens allows you to visually debug a node's signal connections while testing your game.

License

Notifications You must be signed in to change notification settings

yannlemos/Signal-Lens

Repository files navigation

Signal Lens

Signal Lens is a plugin for Godot 4.3.

It is a visual debugger for signal connections. Given any node in a remote scene, it will render a graph with all the connections to that node's signals. It doesn't matter if that node is an autoload, or if the signal's are built-in, or custom made - Signal Lens will draw it all when given the node's global path in the remote.

image

Signal.Lens.Demo.mp4

Installation

Signal Lens can be installed from source by downloading the addons folder from the repo into the addons folder in your project, or directly from the Godot Asset Library.

How To Use

  1. While the current project is playing, go to the debugger panel. image

  2. Open the Signal Lens tab. image

  3. Select the node in the remote that you wish to view in Signal Lens. image

  4. Copy the global path from the node and insert it into the "Node Path" text field inside Signal Lens' panel. image image

  5. Press the Inspect button to render the graph. image

  6. Click a node to highlight all its connections. image

  7. Click a signal or a callable inside a node to highlight its specific connections. image

The rendered graph will display all the target node's signals, be them custom or built-in. They will be connected to other nodes that represent other objects in the scene tree, pointing their exact callable signature.

Troubleshooting

If you encounter any issues, please log a bug on the issues tab.

Credits

Code written by Yann Lemos, released under the MIT license. Special thanks to my friends at Studio Bravarda.

Godot Logo (C) Andrea Calabró, distributed under the terms of the Creative Commons Attribution 4.0 International License (CC-BY-4.0 International) https://creativecommons.org/licenses/by/4.0/

About

Plugin for Godot 4.3. Signal Lens allows you to visually debug a node's signal connections while testing your game.

Resources

License

Stars

Watchers

Forks