Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | jobax |
I have a camera2d that is zoomed in and is a a child node of my player sprite, so it follows the sprite as you walk around a large map/viewport. How would I display a GUI eg health bar over the camera view and be accurate no matter the zoom, margins, etc that I use? Like if you were replicating a 2D Zelda game with hearts on the screen, etc. Thanks.
Put them under a canvaslayer node
wombatTurkey | 2018-03-23 08:24