Skip to content
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

Investigate fractional scaling support #38

Open
lah7 opened this issue Jun 13, 2024 · 0 comments
Open

Investigate fractional scaling support #38

lah7 opened this issue Jun 13, 2024 · 0 comments
Labels
enhancement New feature or request paused Not ready to work on this yet

Comments

@lah7
Copy link
Owner

lah7 commented Jun 13, 2024

More of a curiosity, does fractional scaling (like 110% or 125%) work? Does the game support floating point numbers for its UI geometry and graphics?

For example, a 64x64 box or graphic:

Scale Pixels
100% 64 x 64
110% 70.4 x 70.4 ⚠️
120% 76.8 x 76.8 ⚠️
130% 83.2 x 83.2 ⚠️
150% (#37) 96 x 96
200% 128 x 128

Fractional scaling has its disadvantages. It's likely to cause subpixel rendering and potentially blurriness, depending on how we upscale the images.

ℹ️ Give this issue a 👍🏼 if you have a need for fractional scaling.

@lah7 lah7 added enhancement New feature or request paused Not ready to work on this yet labels Jun 13, 2024
@lah7 lah7 mentioned this issue Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request paused Not ready to work on this yet
Projects
None yet
Development

No branches or pull requests

1 participant