Game Development Community

High-def resolutions and 16:9 aspect ratio

by Keith Weatherby II · in Torque Game Builder · 01/31/2008 (4:12 pm) · 2 replies

I'm kind of curious as to if there's a way to account for high-definition resolutions and widescreen aspect ratios and still have them scale properly on regular monitors.

Specifically, I'd like to create a game around a high-def res say 720p (1280x720) and then since my monitor only does a max of 1280x1024, have it automatically center itself and still run as if it were in 720p, or even better have it scale down appropriately if i used a lower res, such as 1024x768 (in which case the game might be in an active res of 1024x576 centered in a 1024x768 and yet still scaled down from 1280x720)

This seems like it might be difficult, but then again, it might be possible, even if I have to script it. Hopefully though I wouldn't have to modify the source code. As right now i'm merely using the trial version.

Any info is appreciated, thanks.

Keith Weatherby II

#1
02/02/2008 (1:34 am)
This should be possible in script... you will find the getRes and setRes functions very useful.
#2
02/09/2008 (4:16 am)
I didn't really understand the question, however I know that if I change the game camera to a 16:10 aspect ratio and run the game full screen it will fit perfectly on my 16:10 monitor, if I leave the camera at 4:3 the picture gets stretched. Hope that helps?