Split Screen Resolution Problem (Game Engine) So when I run the game with the Embedded Player the split screen works but when I run it Standalone the size of the camera is changed.

Embedded:


Standalone:


I would like to make the standalone look like the Embedded.

Here is the code for the split screen if that is needed:

from bge import logic, render
camList = logic.getCurrentScene().cameras

cont = logic.getCurrentController()
own = cont.owner
cam1 = camList[own['cam1']]
cam2 = camList[own['cam2']]

width = render.getWindowWidth()
height = render.getWindowHeight()

cam1.setViewport(0, 0, int(width/2), height)
cam2.setViewport(int(width/2), 0, width, height)

cam1.useViewport = True
cam2.useViewport = True


Thanks!
I have that problem too. Try making the focal area larger, although it may be an issue with having two cameras.

Although, the snarky answer would be to restore down the game window.

Or you could do it like MarcClintDion commented. But really, make a note of the position of each camera, and slowly move them until you get the results you want.

Also, check if it's only going to fail with width. See if you can't stack the screens on top of each other, and see what effect that has on the width.