@16DBatteries@mastodon.gamedev.place
2026-09-20 15:12 UTC
@godot_dater@mastodon.world it sounds like maybe some confusion around instantiating a class vs instantiating a scene? The signals you've defined all live in the. tscn file, so you only get them if you create an instance of the tscn file, not using the class via code or "attach script".
Replies (1)
-
@godot_dater@mastodon.world 2026-09-20 15:17
@16DBatteries@mastodon.gamedev.place Interesting, so if I use the class name to instantiate the scene, it will not use the signals defined from the .tscn file? Only if I instantiate by loading the scene specifically through the tscn file? Interesting, I guess that's possible, this was the first time I tried to instantiate through class name. I guess this might be the reason why also %-named nodes also all appeared to be null when I was playing around. Good to know, thanks!