-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window scale factor of 2.0 makes the middle half of the game window blurry at odd resolutions #2739
Comments
Making this if statement always false appears to fix the issue.
Removing this block of code makes other other scale factors be not blurry as well, which may not be desired. Maybe this should be changed to check if the scale factor is any whole number, instead of only checking for 1.0? |
Nice find. Given this is a pixelart game, I'm in favour of never blurring anything |
I'll make a pull |
I guess we should check, how does your change look at the non-integer scales? |
ah yeah ok. so sounds like the original idea of blurring at non-integer scales was a good one 😅 except why is the options window behind the 4 globe buttons in the release... |
It only sometimes is 🤷 |
This comment is incorrect after commit 3f97f50, in a way that appears to only be relevant when the scale is between 1 and 2 (by my limited testing) |
BTW I believe the issue was that the size of |
Version information:
Describe the issue
When the horizontal or vertical resolution of the game window is odd, using a 'window scale factor' of '2.0' causes the middle of the game window to appear blurred. This can happen quite easily when playing the game in Windowed mode, either by resizing the window, or by maximising it if your (Microsoft Windows) taskbar and/or title bar is of odd thickness.
Expected behaviour
I would expect 2x scale to always allow me to appreciate every pixel of the game in crisp detail, without feeling like I need to see an optometrist.
Describe the solution you'd like
Describe alternatives you've considered
Cropped screenshot

I find this especially annoying when reading text (screenshot cropped and scaled 4x):
Annotated screenshot


Numbers are pixels measured in Paint.NET.
Same screenshot but with only the resolution added for reference:
The text was updated successfully, but these errors were encountered: