SimonN / LixD

Lix: Lemmings-like game with puzzles, editor, multiplayer
https://www.lixgame.com
133 stars 17 forks source link

Hardware Fullscreen Resolution: Offer Integer Options Separate from Windowed Resolution #453

Closed SimonN closed 1 year ago

SimonN commented 1 year ago

Lix 0.10.5

Windowed mode and hardware fullscreen offer a pair of integers in the options menu to tell Lix the resolution. The very same pair of integers affects both screen modes.

Expected instead: Hardware fullscreen offers its own pair of integers, which specify a different resolution than the pair of integers for windowed mode.

I believe that a good default for hardware fullscreen is still 640x480.

From IRC today, by Dullstar:

I was at least able to get it to reset it to a more sensible value just by deleting the related options from the options.sdl file. I don't remember if I had manually set it to the actual monitor resolution or if it automatically did that at some point. Usually when I'm using the fullscreen modes I'm using the software one, so I'm not sure why I would have manually changed the default (unless the default changed at some point?)

Yes, the default windowed resolution changed from 640x480 to 1280x720 in July 2021, in commit 596a17fa9.

SimonN commented 1 year ago

Workaround: Run Lix with the command-line option --hardfull=640x480.

Here are all resolution command-line options in Lix 0.10.x:

-w                     run windowed at 640x480
--resol=800x600        run windowed at the given resolution
--fullscreen           use software fullscreen mode (good Alt+Tab)
--hardfull=1600x900    use hardware fullscreen at given resolution