Game Development Community

Changing Resolution

by Q90Games - Christopher Evans · in Torque Game Builder · 12/10/2007 (3:59 pm) · 2 replies

I'm a bit frustrated.

I want to change the resolution of my project from 800 x 600 to 1024 x 768. I have made several attempts to make this work, but have be unsuccessfull. Here are my project settings.

Camera: x = 0.0 y= 0.0
Width = 100.0 Height = 75.00

Design Resolution: x = 1024 y = 768.

The Background image I am using is 1024 x 768
Position: x = 0.0 y = 0.0
Width = 100.0 Height = 75.0

I have a gui on top of this background. The gui's resolution is set to 1024 x 768

When I run this from the TGB Tool or from a Torsion build. Only the upper right hand of the window is visible. It looks like this is 800 x 600 resolution. The bottom and left side of the 1024 x 768 are black with not background.

#1
12/10/2007 (9:35 pm)
Design resolution is for your toolset, not the actual game size. Additionally, the camera width/height is for interpreting how to render the SceneWindow, not the actual resolution of the window itself.

To set the actual physical resolution of your window, use the Console Function setScreenMode(..).
#2
12/11/2007 (6:41 am)
Thanks Stephen.

I did get this to work.

But now Im getting some Artifacting before my menu pop up. Sounds like I need to clear the frame buffers before I get to my menu. But Im not sure how to do that.