Been clueless as what to google for this- no results so far so here we go.
Looking for alternative ways to "staple" or "root" control nodes, in this case buttons, to a static location in a 2D scene. The way I'm doing it in this game is to use the process function to move the group of buttons every frame the opposite direction the camera moves. I need buttons to stick around a tower in this tower defense game. My method of course has all sorts of problems:
- it's gross as it uses the _process function
- it needs more code if I want it to work with the camera changing at different zoom intervals
- it needs even more code to know if the camera is stuck
Am I overlooking a much simpler alternative? Thanks in advance.