0 votes

I am new to Godot. I want to make something that i believe should be the easiest option available.

Here is my problem : I have a game with a defined screen. I just want to automatically have it fit the screen of the users (and in developpement, mine). I didn't find anything in the options, and the viewport tutorials didn't help me.

EDIT : I tried using OS.set_window_size with kind of good result, but still, my game window doesn't pop up in full screen (i still need to click on the button next to the red cross of my window to make it expand and fill my screen)

in Engine by (32 points)
edited by

1 Answer

+1 vote
Best answer

OS.set_window_maximized(true)

by (9,662 points)
selected by

https://ih0.redbubble.net/image.15477200.5065/flat,800x800,075,f.u2.jpg
....
Thank you ! I knew I missed somehting, somehow I didn't find that dunction earlier...

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.