Game Development Community

FPS display

by Markus Nuebel · in General Discussion · 01/16/2003 (11:14 pm) · 6 replies

I am new to the torque and have seen, that the engine tracks the current fps count.
Is there a way to display the current fps or other statistic data during runtime on the screen?

-- Markus

#1
01/16/2003 (11:31 pm)
Type "metrics(fps);" into the console (opened by pressing ~)
This will display FPS in the corner.
What other statistics would you need shown? This is all I ever use. Maybe there are some more stats u can show that I dont know of... im pretty new too.
#2
01/16/2003 (11:34 pm)
Hi Markus,

to display the fps open the console and enter

metrics(fps);

the other possible statistics, you will find in the metrics.cs in your common\client\ folder


- Sven
#3
01/16/2003 (11:35 pm)
Wondersite to the rescue :)

http://tork.zenkel.com/tutorials/littlehelpers/snippits.php#010

Thats got a list of what can be shown using the metrics(); call. Not my site, praise beffy for it.
#4
01/17/2003 (1:26 am)
Thanks guys, that helped a lot.

BTW: I was not specifically looking for other metrics. Just interested, to see what already is available for display.

-- Markus
#5
01/18/2003 (6:12 pm)
actually I found the command won't work unless you type it exactly...

metrics("fps");

-TorQue[MoD]
#6
06/26/2006 (1:36 pm)
Metric(fps) and metric("fps") both work the same now.

-Van Dempsey
Turbo Squid