Finding Monitor Resolution

Hello,

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?

Cheers.

You need to use this: https://pythonapi.upbge.org/bge.render.html#functions

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()
print(myScreenSize)
bge.render.setFullScreen(True)
bge.render.setWindowSize(1920, 1080)