Supporting multiple screen sizes

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

Greetings Godot Community!

I am currently working on a small game which basically always has the same screen shown. No scrolling, moving, etc.

I now want to support different Resolutions (from FullHD and down, I don’t think 2 or 4K is needed). I have read the Godot documentation about screen scalling, etc. and I played around with it, but I am not getting very far.

My current solution is seeting the stretchmode to 2D and the stretchaspect to keep. This works, but looks terrible.

See picture:

Thanks in advance!

:bust_in_silhouette: Reply From: VitaZheltyakov

Use “keep_height”

WTF. Thank you.

Chain | 2017-08-30 08:31