The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

+1 vote

okay, so i made this fps game, whenever i open Full Screen mode the cross-hare changes to a different location than when it wasn't in full screen mode.

Godot version godot 3.3
in Engine by (447 points)

How are the crosshairs laid out and put into position on the screen?

with a texture rect node

1 Answer

+4 votes
Best answer

You can make the crosshair a child of a control node whose layout is centre. Then when you resize the screen, it will not move.

I would also recommend that in settings under Display -> Window (down the bottom of the list of settings), you change it from mode to 2d or viewport (I don't know the difference - play around with it!), and also change Aspect to expand

Hope this helps

by (248 points)
selected by

okay am going to give it a try.

Hope it works!

yes it did!

the second steps about the setting was the one that work.


Glad to hear it!

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.