My game looks different on different resolutions

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

I’m trying to improve the game from Your First Game tutorial. I’ve ported it to Android, but I can’t make it look the same on different displays. Here’s what I mean:

18.5:9 display (it’s fine)

16:9 display (it’s stretched horizontally)
enter image description here

My settings:
enter image description here

I use Camera2D:
enter image description here

I am new to Godot Engine, so I don’t really know how to fix this. Ask for any screenshots you need.

Hello !

There’s a video tutorial on the subject, did you watch it ? :

nonomiyo | 2018-07-28 20:55

No, I didn’t. But thanks, I will watch it.

Helvetica Ultra | 2018-07-29 11:47

I’ve just watched it. It seems that my configuration is right, but on 16:9 devices, the image is displayed as 18.5:9 with black bars on both sides.

Helvetica Ultra | 2018-07-29 18:56

:bust_in_silhouette: Reply From: alexvinbog

Use Mode - 2d
Aspect - keep

When I build it using suggested settings it looks fine on 18.5:9, but weird on
16:9 display: enter image description here

Helvetica Ultra | 2018-07-29 11:46

:bust_in_silhouette: Reply From: Helvetica Ultra

I have finally solved my problem. My solution: set Aspect to keep_width.
I was sure that I tried this option. Now it fits any display very well.