Game Development Community

TGE Noob: #9 The Metric System

by Richard Bottoms · in Torque Game Engine · 03/18/2005 (10:22 pm) · 1 replies

TGE Noob: #9 The Metric System

Need metrics on the performance of your game? There are a series of items you can get stats on like so:

~
metrics(video); // Choices are audio, debug, interior, fps
// time, terrain, texture, video, vehicle, water

GLEnableMetrics(1); // 0 false, 1 true

~

The stats appear in the upper left hand corner of the display.

You can change the mode again just by selecting a different metric.

Look in common/client/metrics.cs to get the specifics of what is being tracked for each option. Additonal discussion here:

www.garagegames.com/mg/forums/result.forum.php?qtm=GLEnableMetrics&qff=b


Bottom line:

Very helpful


Big brains:

Is there a script variable to change the position of the display?

#1
03/21/2005 (9:04 am)
This resource is fairly easy to implement and adds a gui for metrics options and different render modes.

This is a link to what the different render modes look like.