Game screen resolution setup
by Krisztian Brizs · in Torque Game Builder · 08/21/2011 (2:52 pm) · 1 replies
I have Torque 2D Pro loaded and ready to go. I understand how to set design resolution, but I would like to set the game resolution to 1920 x 1080, fullscreen. How can I do this?
About the author
Torque Owner Justin Proffitt
setScreenMode( width, height, bpp, fullscreen );
In your case:
setScreenMode( 1080, 1920, 32, 1 );
Hope that helps : )
Edit: You might have trouble since you are likely changing the aspect ratio, I hope someone knowledgeable about that comes by because I haven't figured out how it all works yet. I do know that you can counteract stretching by narrowing the width of the scenewindow to balance it, though that's hardly a nice fix.