Game Development Community

GUI Question

by Kirby Webber · in Torque Game Engine · 02/24/2003 (11:44 am) · 1 replies

Having done some experimenting with user interface lately, I find myself with a few questions.

It seems that you can toggle the visibility of a given element "manually", or in the case of full screen elements, you can use GuiCanvas.popdialog (dialog); and GuiCanvas.pushDialog (Dialog); to place and remove the element.

Since the interface I am seeking to implement would be a vehicle dash panel, it bears questioning as to what kind of effect using a full screen element like this would have on average system performance.

Basically, does all of the space that doesn't get rendered continue to use system resources, or does only that which is visible get calculated?

Any thoughts or advice?
Thanks in advance.

#1
02/24/2003 (1:28 pm)
The PlayGUI, which renders the 3d stuff, is resizable, so if you have a big dash, you could just shrink it a bit, and save yourself some cycles/a lot of cycles that way.