Toot

Written by SirLich on 2025-02-02 at 12:02

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

Mentions

Tags

=> View godot tag | View gamedev tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113934188089955587
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
222.464944 milliseconds
Gemini-to-HTML Time
0.600823 milliseconds

This content has been proxied by September (3851b).