adjusting screen resolution with R.setRes command. Keeping window center of the screen though.

When I put in my options panel the ability to change screen resolution, I want the screen to stay either full screen like they have it(note I don’t know how to do this either as of right now so if you do please tell me. I want the ability to go back and forth between full screen and windowed.) but lets say the monitor you are playing on is a 1080p monitor so your resolution is 1920x 1080. Now you want to put it on a screen that is 1440 x 900, how do I make the game use the center point of the monitor or the size it is being changed to. Everytime I do it I get the darn thing in the top left corner of the monitor somehow. Sometimes its just below the window title bar sometimes idk where that bar is at.

Bump this thread.

I’m also interested in this.