Game Development Community

window starts stretched!!!

by Jack Rothwell · in Torque Game Builder · 07/13/2010 (10:50 am) · 3 replies

hi.
my design rez is 800 x 600, my camera size is 100 x 75, but when i run my game the window (and graphics) start off stretched horizontally by about 20%. been through all the scripts etc in my game folder, but i don' really know what i'm looking for to fix this??
is there any way to force and clamp the display size to 800 x 600? or another way to solve this problem?
thanks - jack.x

#1
07/16/2010 (12:45 am)
I can't say that I've seen or heard of this problem. After you run your game, bring up the console (Ctrl-~) and type in
echo( Canvas.getExtent() );

What do you get for the result?
#2
07/16/2010 (5:33 am)
weird. just installed tgb standard instead of tgb pro (i have both because there were serial no. issues once upon a time) and the problem has gone away!
sorry to bother you all -
jack.x
#3
07/16/2010 (6:39 am)
Odd, but good, I guess!