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

SDL scaling should be implemented. #883

Open
evertvorster opened this issue Sep 25, 2024 · 2 comments
Open

SDL scaling should be implemented. #883

evertvorster opened this issue Sep 25, 2024 · 2 comments
Milestone

Comments

@evertvorster
Copy link
Contributor

Right now, if you select a resolution that is less than your monitor's native resolution, and put it to full screen,
the game displays with a black border that makes up the difference between the monitors native resolution and the requested game resolution.

I believe that SDL may have a function where it can scale the requested resolution to the monitor's native resolution.
Would it be possible to implement this as a menu option?
It would then be possible to pick a resolution that works well with the game UI, and simply scale it to match the native resolution of the requested monitor.

@evertvorster
Copy link
Contributor Author

Here is a screenshot of SDL not scaling to the full screen when requested full screen mode:
image

@royfalk royfalk mentioned this issue Nov 22, 2024
1 task
@royfalk
Copy link
Contributor

royfalk commented Nov 24, 2024

Note that the issue you're referring to is #913 and not SDL scaling. This game (and most others), does not respect the OS scaling parameter. A ship, 1000m in front, would appear the same in any resolution. By same I mean wrt size. The main issue I see is one of fonts.

However, given that the current fonts are part of a from-scratch widgets, I suspect this will wait until we migrate to another system.

@BenjamenMeyer BenjamenMeyer added this to the 0.10.x milestone Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants