Getting Play Preview to Start Fullscreen

Godot Engine v4.6.2.stable.official.71f334935 for android.

Hey there world. I’m trying to get the play preview, the test environment, to start fullscreen. So I don’t have to click fullscreen each time.

Tried a bunch of things, pretty sure I’ve just missed something. I’ve set it to fullscreen, fullscreen exclusive, canvas items, expand, tried a bunch of settings.

Tried code too. Online guides say to use this

#DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN) #DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_EXCLUSIVE_FULLSCREEN)
#OS.window_fullscreen = true

Doesn’t want to work either.

I believe in project settings, if you search for window there should be a drop-down currently set for minimized which you can set to fullscreen.

To be more specific, the option @istubbdmytoe is referring to is located in ”project > project settings > display > window > mode”

If you alter this setting, what happens?

1 Like

I would’ve tried to say that but I don’t have a computer with Godot on me at the moment D:

that’s fine, it was good advice, led me directly to the setting so I could share this screenshot.

1 Like

It doesn’t work on my end. But it works on your end? If you change it to a different setting it stops starting fullscreen? You’re on Android too?

The settings work for me, but I’m on Windows. Are you able to share screenshots of the settings and the game window so we can see what you see?

Also, is it still windowed in a build, or is it just the preview?

Starts like this.

Then you press the fullscreen button and it goes fullscreen.

You’re on PC hey. Might be related to the Android version?

No build yet. I’m just in test environment play preview for the prints.

Whoops, I think I skipped the reply to. See above.

1 Like

yeah, I didn’t see that, sorry.

Not sure how to help you, since you’re not just using the android build, you’re running it on a phone. Afaik, it was designed for chromebooks.

If I were you I’d hop over to the Github and report this as a bug with the Android version, that the preview will not go fullscreen by default even if you change the default settings and write code to force fullscreen.

1 Like

Ok, I’ll see if I can find it. Tyvm, have a good one.