0 votes

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 ?

in Engine by (20 points)

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

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

the one that dont mess up the image

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

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

Then set stretch_aspect to "ignore".

1 Answer

+2 votes

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:



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


by (306 points)

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.