auriamg / stk-code

The code base of supertuxkart
Other
0 stars 0 forks source link

(VideoMode) = From a screen of 1920x1080 to a screen 1440x900. #276

Open auriamg opened 10 years ago

auriamg commented 10 years ago

Hi, ...

Tested = From a screen of 1920x1080 to a screen 1440x900.

It made also that, when in portable version = Because computers, dont have the same screen and videomode.

1) The computer have 1920x1080 natif videomode. 2) The computer have 1440x900 natif videomode.

From 1) to 2) and start the game, it dont crash the computer, but really display the game. But it miss some part of the complete display. It's in 1440x900 but not display all the FullScreen games graphics of a real 1440x900. Only the upper left part of 1920x1080 on the 1440x900 videomode.

It display a fullscreen 1440x900, but inside not all graphics inside = it miss the right bottom section of the 1920x1080. = it dont have the section "quit exit".

Please "reset to videomode 800x600", when the last videomode in the supertuxkart game, is not in the videomode of the new screen.

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/t/ticket/348

auriamg commented 10 years ago

Author: ssta Windows 7 x64 Sp1.

auriamg commented 10 years ago

Author: hikerstk Implementing this will have side effects: for example, I have a computer with 2 screens, and irrlicht only reports a resolution of 3840x1080. But I want to play only on a single screen, so I set my resolution to be 1920x1080. So in this case the screen resolution would always be reset to 800x600, certainly not what I want to happen.

And iirc there are other (or similar?) cases where irrlicht does not report the 'correct' resolution.

The only option I see would be to add a command line flag --change-to-default-resolution-if-resolution-not-found (well, something a bit shorter ;) ), which you could use to trigger this behaviour.

Considering that you can easily change the resolution in game, this is a rather minor issue.

Cheers, Joerg