Godot tip: You can use singletons to create linkages between seperate systems.
For example, instead of sticking signal player_health_changed
into a signal bus, you can instead define signal player_set
, then define player centric signals in the player.
The HUD can then bind to player_set
in order to gain access to the player, and bind to additional signals.
I prefer this over using groups, export vars, or unique names.
[#]godot #gamedev
=> More informations about this toot | View the thread | More toots from SirLich@mastodon.gamedev.place
=> View godot tag | View gamedev tag This content has been proxied by September (3851b).Proxy Information
text/gemini