Finding Monitor Resolution


Is there anyway to program the game to find and use the resolution of the computers primary display when in fullscreen?

On the subject, is it possible to do borderless fullscreen in BGE?


You need to use this:

You can do borderless screen by setting Display to Extend or Scale. I prefer Extend.

Blender has the option itself to run in full screen desktop resolution, it’s right below the standalone player.
You can also use python to change some things, you can find an example (game launcher) in my sig.

myScreenSize = bge.render.getDisplayDimensions()
bge.render.setWindowSize(1920, 1080)