Window Mode - is it really that hard????

I think im losing my mind. All i want to do is have a default window mode when the game starts and then be able to set the window mode from my UI. I basically have a blank project.

If you look on youtube, everyone does this on standalone mode, which is not the same as a packaged build.

Thankfully it seems to start up in windowed fullscreen when packaged. But when I change to windowed mode it does so for a split second and then switches back to windowed fullscreen.

I just don’t understand why…



image

What am I doing wrong? Using 5.4 but I remember having this exact same issue back in 5.2, is this a known bug??

You are not saving the settings

Example:

here is an old project with resolution, window modes and graphics presets
SettingsProj2.zip (288.1 KB)

1 Like

oh I see what’s happening, the resolution being set to my screen res doesn’t include space for the windowed mode, but when I lower the resolution it does go into windowed mode. That project just saved me so much time! Thanks @3dRaven

it’s kinda weird though, that it doesnt take that into account if you try to get desktop resolution and set resolution by that and then the actual window bar isn’t visible

If you want the window to scale you’d need to be in windowed mode.
Normal fullscreen and borderless windowed mode stick to the edges of the screen.

yeah thats what I mean, my monitor resolution is 1080 and if i set it to windowed mode i cant see the bar at the top, but if i set it to 1280x720 i can.

I have a new issue now in that since i applied the settings my background has gone from this

to this

and it remains that way even if i close out, reopen or even delete my save game

and oddly if its in fullscreen mode, if i click out of the app (into my web browser for example) it switches to only cover a portion of the screen:

Thats in the packaged version, in the standalone mode it works fine

I didnt think something so common would be this tricky

Could it be a matter of setting up anchors to stretch the background image correctly to the new resolution?

Also make sure the bar scales.
Resolution scaling may also have some sort of impact.

ill look into that, ive always had issues with this so it could well be a gap in my knowledge is to blame

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.