Images look bigger than original while on full screen

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

My laptop resolution: 1920x1080
My background image resolution: 1920x1080

Went to settings, selected full screen mode, and when I run the game, the background looks bigger as it’s shown in the image. Here are some screenshots I took.

https://drive.google.com/file/d/0BzcpKvKa9ARaTUpRcjJWWDB0ZTA/view

Didn’t the image have to fit the screen? Cause they’re both the same resolutions. Any trick I’m not understanding or something I have to do to fit it to the screen?

This applies to every image, background, character sprites, everything stretches and looks bigger when in full screen. Didn’t code a thing, just went to project settings and selected full screen there.

Thanks in advance.

:bust_in_silhouette: Reply From: Zylann

In the Display settings, you either have to set the resolution of your game to 1920x1080, or to set the stretch mode to “disabled” so resizing doesn’t stretches the game.

Note that not everyone has the same resolution or aspect ratio, so it will be likely that your background won’t always be shown in fullscreen anyways.

Did what you said, set 1920x1080 in display settings and set stretch mode to disabled. However, image is still bigger than it really is :frowning:

di0nizus | 2017-02-07 12:34

If you’re testing your game on Windows it might be your system DPI settings. I ran into a similar issue with a recent game I made, but doing the following made the game run as expected:

  1. Right click the exe and go to Properties
  2. Go to the Compatibility tab
  3. Check the box next to “Override high DPI scaling behavior”
  4. Apply

If you’re not using Windows, unfortunately I don’t know what it could be.

EnlightenedModifier | 2017-09-28 01:35

Just wanted to say thanks. Turns out high DPI was the issue.

In case anyone else has this issue, I didn’t follow the instructions above but high DPI was the culprit. Went to display settings>Window>Allow Highdpi. This problem was driving me nuts.

Sirosky | 2018-07-22 06:17