How fix an HUD to a part of the viewport? (Some extras)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By spacingnix
:warning: Old Version Published before Godot 3 was released.

Video here
So basically I’d like to fix a part of my HUD to a part of the screen. Kind of like every game right? The camera follows the player but the HUD stays in a fixed position.

One bonus if I may. I’ve set those floor instances each to the same group in the node->groups but they are not getting grouped… I’ve tried adding the same group to the parent node. Or do I just need to create a empty node and just toss them all there? I mean to visually group them in the editor under the same category.

:bust_in_silhouette: Reply From: avencherus

You want to create a CanvasLayer node, and put those controls in there.

Note that CanvasLayers do not render to viewports with rendertarget on (just saying).

Bojidar Marinov | 2016-12-31 09:37