Elektrine lite

← Feed

@JetPoweredGames@mastodon.social

2026-09-20 15:07 UTC

@godot_dater@mastodon.world Doesn't sound like a bug to me, when extending control classes it's best to assign their signals manually in code unless you're instantiating the scene manually for each one in my experience. Or have one UI Manager global script that goes through the tree on _ready, looks for any buttons and does all the signal connecting for you. That's what I did for my game. I control all my UI juice, sounds, tweens, etc from a single script and it works wonders!

Replies (1)

  • @godot_dater@mastodon.world 2026-09-20 15:10

    @JetPoweredGames@mastodon.social I am dynamically adding and removing these buttons during the gameplay, so my only option is to connect the signals inside the _ready function for the extended class. Anyways, it is good to know, I didn't actually ended up digging through the docs, as I figured this out in about 30 minutes, so I don't know if this behavior is documented or not 😅 but it is good to know it is not some new issue. Thanks!

    Open ##5254785