Start unreal game in windowed mode

I got the game to package and it starts up in full screen. The only way to exit is by pushing escape key which feels like a hidden feature.

How can we start up our game in windowed mode? That way player can just hit x button.

1 Like

In the config folder of your project, add this to DefaultGameUserSettings.ini (if the file does not exist, you’ll need to create it yourself with any text editor).

[/Script/Engine.GameUserSettings]
ResolutionSizeX=1280
ResolutionSizeY=720
FullscreenMode=2

You’ll need to package your game again for the change to take effect, and for good measure delete the previous packaged build before packaging (this helps prevent any cached values from being present).

2 Likes

it worked. thank you

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

Privacy & Terms