I have been testing out the resolution 1280x768 in full screen
which works fine on my laptop which I bought about 8 months ago,though my desktop pc which is about 5 years old cant run my game in 1280x768 though the pc itself does support 1280x768,when I try to run it on my desktop pc the screen goes all white.
Hmmm, if your game is written in a resolution-independent manner, then you can usually use Gosu::screen_width and Gosu::screen_height and be on the safe side.
(Which is also the reason why I want to change Gosu to always do this transparently :))
After further testing it appears the problem was the Nvidia Driver
as after updating the Nvidia Driver I can now use 1280x800 or 1280x768 or 1280x720 in full screen mode :D
I will implement the option to choose the resolution that the game will use from 1280x800 or 1280x768 or 1280x720
How would I test too see what resolutions the game can use ,and use 1280x800 if possible if not use1280x768 if possible if not use 1280x720 if so how would I do this?
Comments?
TopicGosu / Gosu Exchange / Gosu Supported Resolutions in fullscreen