TGE screen res settings
by Jim Swanson · in Torque Game Engine · 05/05/2008 (3:17 am) · 5 replies
Hello,
Just bought TGE last night, and have a question already :)
In the options popup, my screen sizes arent listed. I run dual monitors at 3360x1050 or a single at 1680x1050.
Is there a way to edit the available settings for the engine, and also for my game in the future?
Thanks,
Jimbo-
Just bought TGE last night, and have a question already :)
In the options popup, my screen sizes arent listed. I run dual monitors at 3360x1050 or a single at 1680x1050.
Is there a way to edit the available settings for the engine, and also for my game in the future?
Thanks,
Jimbo-
#2
setRes( width , height , bpp )
The only limitation I know of in TGE (and a very reasonable one), is that you cannot set a bigger resolution than the desktop one, while in Windowed mode.
05/06/2008 (6:50 am)
Jim, you can pretty much use the resolution you want. setRes( width , height , bpp )
The only limitation I know of in TGE (and a very reasonable one), is that you cannot set a bigger resolution than the desktop one, while in Windowed mode.
#3
05/06/2008 (7:03 am)
The resolutions that you are seeing are returned by the GL driver on your system, I believe. You can hardcode the resolution in your prefs file, though TGE doesn't support two monitors out of the box.
#4
In tgea it's getVideoMode() or something close to that :)
05/06/2008 (8:14 am)
Also use getRes() in TGE to get the resolution. In tgea it's getVideoMode() or something close to that :)
#5
05/06/2008 (3:33 pm)
Thank you :)
Torque Owner Jim Swanson
Anyone able to at least point me in a direction?