0
\$\begingroup\$

How do I set Unity3D to run my game on Windows 8 in a fixed size frame (with a border around it) and not in fullscreen?

I tried setting this in the Unity script and in the final C# project, but nothings seems to work.

I have set the players resolution to 1366x786 (the desired size) and while this works fine with the webplayer the windows 8 solution seems really unimpressed by it. I also tinkered with the 'Default Is Full Screen' option

\$\endgroup\$
  • 2
    \$\begingroup\$ Maybe you can include details about the settings you've tried so they're not suggested again here. \$\endgroup\$ – MichaelHouse Nov 21 '13 at 19:41
  • \$\begingroup\$ I've tried to research this a little further but it would help if we knew why you wanted to have the one resolution regardless of monitor.. Is it simply the aspect ratio you like or must it be fixed to 1366x786 even on a 2560x1440 monitor? \$\endgroup\$ – Tom 'Blue' Piddock Nov 26 '13 at 10:07
  • \$\begingroup\$ Both is interesting, but at the moment I am looking for fixed 1366x786. Just like you got a game windows with this fixed size and then a floating border around it, which fills the rest \$\endgroup\$ – floAr Nov 26 '13 at 10:44
  • 2
    \$\begingroup\$ Is this for a windows 8 store app or a desktop app? \$\endgroup\$ – G. Meadows Aug 19 '14 at 8:17
1
\$\begingroup\$

I run Windows 8.1. Just check Windowed under the Graphics tab in the configuration when the game starts up:


If you don't have the startup config dialog. Go to Edit->Project Settings->Player and set Display Resolution Dialog to Enabled:


If you do not want to have the config dialog you can set the Screen.fullScreen property to false in code.

\$\endgroup\$
0
\$\begingroup\$

You have checked the player settings, right?

http://docs.unity3d.com/Documentation/Manual/class-PlayerSettings.html

\$\endgroup\$
  • \$\begingroup\$ Yep tried this, see the edit I made to the question \$\endgroup\$ – floAr Nov 21 '13 at 20:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.