Widescreen GUI
by Harvey Greensall · in Torque Game Engine · 10/24/2007 (1:55 am) · 2 replies
Hi All, posted this on TGEA forums with no luck...
Does anyone know how to add an extra resolution to the GUI editor, so I can implement our GUI 720p?
Currently we have the default 640x480, 800x600, and 1024x768 options in the gui editor, I want to add 720x1280 too.....
Can anyone help?
Massive thanks in advance !!
H.
Does anyone know how to add an extra resolution to the GUI editor, so I can implement our GUI 720p?
Currently we have the default 640x480, 800x600, and 1024x768 options in the gui editor, I want to add 720x1280 too.....
Can anyone help?
Massive thanks in advance !!
H.
#2
10/24/2007 (1:03 pm)
Sometimes you might need to "refresh" the list, for example after changing from windowed to full screen. As a work around during development I think I just go back into and out of the Options menu if I don't see resolutions that I know should be there. There is a line of script missing somewhere in this situation.
Torque Owner Benjamin Schneider
If your display device supports 1280x720, it should already appear in the resolution list. See ~/client/scripts/optionsDlg.cs for the Torque Script functions that get the resolution (and device) lists.
If your desired resolution isn't showing up in the resolution list, I'd investigate why that is before moving forward. You can force Torque to display at a specified resolution but if the display device isn't reporting that resolution to Torque as supported, you could find yourself with a black screen.
Hope this is helpful.
Ben