Game Development Community

Render to a viewport

by Don Harvey · in Torque Game Engine · 01/22/2006 (7:09 pm) · 2 replies

What is the best method to reduce the render area such that the viewport is smaller than the canvas? Is this capability available to script? Any help would be appreciated.

#1
01/23/2006 (7:02 am)
The viewport is a gui control. More specifically, it's a GameTSCtrl object called PlayGui in the demos. If you open PlayGui.gui, and modify it so the GameTSCtrl is not the root control (make it a child of something else, like a GuiCtrl), then you can resize it as you see fit.
#2
01/23/2006 (4:26 pm)
Thanks Manoel. Very helpful info.