0 votes

The game I'm working on was initially set as a small window so I could explicitly define the dimensions and design my HUD around that. However, as time passed I decided to make the game full screen instead. Now, since I cannot control the players' resolution, I'm not sure what size or even how to setup my HUD properly. I'm looking for a way to make my HUD dynamically adjust to whatever the resolution of the player is, e.g. the bottom right panel should always be at the bottom right and not a few pixels off the corner, etc.. Is there an easy way to achieve this? Thanks in advance!

Godot version v3.5.2.stable.official [170ba337a]
in Engine by (21 points)

1 Answer

0 votes

Use the Size and anchors workflow for this.

by (12,889 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.