fullscreen changes the location of images

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By umma

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.

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

Ertain | 2021-07-09 18:20

with a texture rect node

umma | 2021-07-09 21:51

:bust_in_silhouette: Reply From: Snail0259

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

okay am going to give it a try.

umma | 2021-07-09 21:51

Hope it works!

Snail0259 | 2021-07-09 22:05

yes it did!

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


umma | 2021-07-09 22:15

Glad to hear it!

Snail0259 | 2021-07-09 22:18