Game Development Community

Screen resolution

by Daniel Buckmaster · in Torque Game Engine · 06/18/2008 (6:27 am) · 2 replies

I've tried searches, but I can't find any answers to this particular question: how can I increase the resolution past 800x600? (Yeah, there's a widescreen size after that, I know... but I want more!)
I mean, this has to be a really basic thing for modern games. Especially with Torque not being extremely graphically demanding - it should be able to easily render with far higher resolution than other engines.

About the author

Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!


#1
06/18/2008 (9:09 am)
Interesting I have confirmed this on my system using a 1024x768 viewsonic CRT and 1680x1050 LCD dell monitor at native resolution (dual-monitor setup) with latest TGE 1.5.2 SDK on Windows XP. Must be a bug some where in the code, or it assumes you can only do 800x600 in window mode at 4:3 or actual max 960x600 at 16:10 aspect ratio (that was common back when TGE first came out in 2001). But I can only get up to 1280x1024 whenever I check the Fullscreen Video checkbox which I assume is because that's the highest resolution the CRT can do which is the primary monitor.

I'll try looking into it further to see what is wrong later on today.
#2
06/18/2008 (11:49 pm)
In function OptGraphicsResolutionMenu::init( %this, %device, %fullScreen ) there are these lines:

%resList = getResolutionList( %device );
	%resCount = getFieldCount( %resList );
	%deskRes = getDesktopResolution();

AFAIK, they're used to get the supported resolutions from your graphics card and add them to the resolution drop down in the option dialog. So if your intended resolution isn't among them you should add it directly to the pref.cs in the field "$pref::Video::resolution" and / or "$pref::Video::windowedRes". Hope this'll help.