Changing Graphics mode without returning to windows

Blitz3D Forums/Blitz3D Programming/Changing Graphics mode without returning to windows

Lilprog(Posted 2003) [#1]
In my game i have a menu at the beginning that allows you to choose graphics modes(the game is full screen mode). When it changes graphics modes it flips back to the desktop for a second before switching, which is really tacky. Anyway to change this?

Rob


GfK(Posted 2003) [#2]
Anyway to change this?
No. All games that switch screen resolutions do this. Its a Windows/DX thing.

A good work-around is to open a small-ish window (or even use the default one) of 400x300 pixels, and use that for your res selector. Then when the user clicks "OK" or whatever, switch to fullscreen using their choice of graphics mode.


mrtricks(Posted 2003) [#3]
I found that changing from a windowed graphics res to another windowed graphics res slowed my program down to a crawl. Odd.


Hotcakes(Posted 2003) [#4]
Commercial games I think use a black borderless window over the top of the desktop so when the screen res changes it looks like it just goes black. This can't be done in Blitz3D without using Userlibs.