Hello,
Say I'm writing a 2D card game. Cards should be dealt to the same position. May / Should I use a container to do this (eg. HBoxContainer), even though Control nodes are meant as UI elements, and this would be part of the game?
Thanks!
kangarooos you absolutely can and in fact this may be a good idea - this is how most UI are built. Control nodes will keep their position no matter what so you can use this as a “container” for assigning spots to other items and keeping them consistent across scenes/games/etc.
I found a tutorial that explores that.
If you use stable release (3.5.1), it may be a better choice to use the Card Framework by db0.