Can you get Pygame to work properly on mesh screens?
I have the same problem as here: The screen is only displayed in the upper left corner of the window
The pygame container is corrupted by the high definition retina screen. I searched around and didn't find anyone with an answer other than "change my resolution".
Can this be fixed in-game so that the player doesn't have to fix it on their own? Either fixing a bug in pygame or resizing the resolution when starting the game? Maybe this can only work in full screen mode?
DIFFERENTIAL: I don't want to change the screen resolution manually but inside pygame-code.
source to share
I donβt know if you all got it, but it was for a while. But you can enable low resolution mode for pygame window in Mac app preferences. Then you don't have to change your resolution every time. I still haven't figured out how to fix this in code.
https://support.apple.com/en-us/HT202471
Edit: I am assuming you are using a Mac.
source to share
I'm afraid there is no way. pygame
hasn't been updated for a while and I think development has stalled. I faced the same problem and ended up choosing to use the program called setresx
when needed. The problem can also be resolved by connecting the computer to an external monitor. I know you can get some portable that you can place on the side of your screen.
As far as the code change goes, as far as I know, it's not pygame
that there is anything wrong, but technically it's a screen. However, you can modify the library itself to handle this problem.
source to share