0 votes

Hello all, my game is 640x480 with these configs:
This is when I maximize the windows
Here the configs

How can I remove these gray bars?

in Engine by (171 points)

Which Stretch Aspects (ignore, keep, keep width, keep height, or expand) have you tried? One of those modes would remove the gray bars, but at a cost of precise resolution and scaling.

How did you make this black background?

just a black image haha

The grey bands don't exist then. The Expand scaling mode is not supposed to have them. They are here instead because your black image doesn't extend that far. How about this: I suggest you remove that black image and simply set your background color as black :)

How can I do that? Idk atm haha

Project Settings --> Rendering --> Environment --> Default clear color

Please log in or register to answer this question.

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.