Changing Window Resolution
by ~Mystic~ · in Torque Game Builder · 12/07/2008 (7:59 pm) · 2 replies
How would I change the window resolution from default to 320X240? and If I press oh alt+enter the resolution would go from 320X240 to full screen.
Anyone know how to do this?
Anyone know how to do this?
#2
12/08/2008 (3:24 pm)
I just want the window to be 320X240 since I'm coding a NDS like game, you serious that you can't go below a 640X480 window?><
Associate Rene Damm
In scripts, you can call setScreenMode to set the screen resolution. Unfortunately, there's a bit of a mixup in the default scripts used by TGB in that the persistent game prefs use "$Game::Resolution" whereas setScreenMode will set "$pref::Video::..." variables, i.e. your set screen resolution won't be persisted except if you set "$Game::Resolution" yourself.
BTW, you sure you have it running at 320x240? AFAIK TGB won't go below 640x480.