RomenH Posted September 6, 2021 Share Posted September 6, 2021 Hi! A while back a thread was started to discuss adding Borderless Fullscreen mode to the game, and it didn't get anywhere. Back then we got an official response saying: Quote Because ONI uses Unity, there isn't really any way to add borderless window to the graphics options. I don't think this is true anymore! Unity has the APIs necessary to set a borderless fullscreen mode: https://docs.unity3d.com/2019.4/Documentation/ScriptReference/Screen.SetResolution.html https://docs.unity3d.com/2019.4/Documentation/ScriptReference/FullScreenMode.FullScreenWindow.html This line of code here can be run from a mod to set fullscreen borderless mode, I have tested it myself and it works. Screen.SetResolution(width, height, FullScreenMode.FullScreenWindow); However, there is a problem around adding this as a proper setting. When the game is in any sort of fullscreen mode, it minimizes when the application loses focus. This is a behaviour built into the Unity Standalone Player but it can be toggled. Only Klei has the ability to change this, and it is the "Visible in Background" setting documented here: https://docs.unity3d.com/2019.4/Documentation/Manual/class-PlayerSettingsStandalone.html So, if anyone at Klei is reading this, please revisit this feature request. It looks like there is nothing stopping this from being in the game anymore. Link to comment Share on other sites More sharing options...
NeoDeusMachina Posted September 6, 2021 Share Posted September 6, 2021 Yes please, we are in 2021, this should be included in every game. Having the game tabbing out as soon as I click on my 2nd monitor is so painful. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.