0 votes

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!

in Engine by (71 points)

1 Answer

+1 vote

Use "keep_height"

by (208 points)

WTF. Thank you.

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.