Resize screen problem

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

I know where to change to player resize screen when he wants.

My question is, when it resize to full screen for example the draw get all deformed.

So if i put the imagem in high resolution probably when i put it in small screen i go lose image.

So how to solve the problem on resize screen ?

There are different options for that in your projects settings in the “Display” category

timoschwarzer | 2017-06-03 05:10

yes i know but i dont found the correct one yet.

the one that dont mess up the image

NowakSotto | 2017-06-03 12:24

It is the setting stretch_mode. You want to set it to 2d.

timoschwarzer | 2017-06-05 10:58

i go take a look on it

if i remember i used one and it put full screen and the image in the current size on center

NowakSotto | 2017-06-05 12:15

Then set stretch_aspect to “ignore”.

timoschwarzer | 2017-06-05 18:25

:bust_in_silhouette: Reply From: Rasmus

As mentioned in the comments you can use the help from project settings.

If you want your game to scale down with the window try setting the “stretch_aspect” in DIsplay to “keep” meaning it will scale your game down and add black bars around if needed.

If youd like i wrote a small guide showing one way to do responsive game design:

https://forum.godotengine.org/9947/responsive-to-fit-multiple-resolutions

EDIT:

And of course, take a look at the doc page about fitting your game to multple resolutions

Thanks man, i go take a good look in the infos you give :slight_smile:

NowakSotto | 2017-06-16 12:24