fixed world scale as resolution changes?

Is there a way, and if so, how?

To keep the game world, GUI’s, etc. the same size regardless of the game screen resolution?

I don’t like how my GUI’s get larger when the game screen gets larger. Or if the screen gets smaller, game text gets to small.

Anyone have any examples on how to fix this?


The easiest way would be to check the resolution with python and then scale the HUD elements individually with python (and position if needed). However you should only do this whenever the size has been changed.

As Thatimster says, if you want to do this you should make your gui independent of resolution using python to scale the objects.
Also it’s a good idea to restart the game when resolution changes since it can mess up hit boxes for mouse over.