Can I Set Fullscreen Resolution on My Game?

What I want: to make my game runs on full screen on my 1920x1080 monitor at resolution of 1280x720, like as it was upscaled from 720p to 1080p.

I did try to use setWindowResolution on python, but when I enable fullscreen it only increases the amount of pixels rendered, not upscaling at all.

Which means that setting resolution while on full screen doesn’t work for me. Any help?

Just for further optimization on my game.

setting resolution has always been problematic in the bge. it works in 2.7x if fullscreen and desktop are set in the blend file. changing to windowed before setting the resolution is crucial, and you cant go back to fullscreen unless you relaunch or remember the desktop (starting) resolution and set it back before going fullscreen.

in experimental 0.3.0 eevee builds, this simply might not work due to bugs.

That’s right! Setting fullscreen inside bge works just fine! Thanks man.

But there is a problem, when I set the default res to 1280x720 it only stretches horizontally.

Edit: WHAT?! When I print screen it shows normally 1280x720.

Anyways… the problem is that on my 1920x1080 monitor it doesn’t work properly, weirdly enough, it was working correctly before.