Game Development Community

Output Framerate & roundtrip time

by Jill Thorne · in Torque Game Engine · 09/10/2003 (5:10 am) · 2 replies

Does anyone know how to output the current framerate to both console and GUI? Also, I want to find out the roundtrip time values (communication time between torque server and client) when running the game. Can someone give me some directions please? Thanks.

#1
09/10/2003 (5:57 am)
In the console, type metric(fps); to see the framerate for the engine.

I think that the player scoreboard will show the pingtimes. Hit F2 to pull it up (or maybe TAB, I forget XD). The server join screen also shows this information. It's possible to query it at runtime, the GameConnection object that is connected to the server should have the info.

I wonder, there might be a metric(net); as well. :)
#2
09/10/2003 (10:16 pm)
Thanks Ben...