Game Development Community

Camera noob

by Jack Rothwell · in Torque Game Builder · 12/15/2007 (6:38 am) · 1 replies

Hi. im having difficulty with the camera in tgb. i dont seem to be able to set the window size in the level editor, its too confusing and never seems to work, and i dont know which .cs file to edit to make the window the size i need.
can anyone give me a push in the right direction? i want to have a 600x400px window, i know it seems an odd size but its just the way im planning the artwork.
thanks.
jack.x

#1
12/15/2007 (9:43 am)
The resolution is in commonConfig.xml. But besides that, you'll have to set the mainScreenGui and sceneWindow2D to the right resolution as well, they're located in the mainScreen.gui file.

I think that should do the trick, but I'm no expert.. According to this page there should be a $pref::Video::resolution defined as well, but I think that's outdated, cause I can't seem to find it.

Good luck