Game Development Community

dev|Pro Game Development Curriculum

Ping HUD

by Mike Kuklinski · 05/17/2004 (1:07 pm) · 7 comments

Download Code File

Besides just rendering a HUD, if the bunt variable is set to true, the number displayed will go thru various shades of green, yellow, and red, depending on the severity of the user's ping.

#1
05/17/2004 (11:52 pm)
Great addition!
#2
05/18/2004 (7:21 am)
As i'm a beginner with Torque, i'd like to know how to use that code in my project ?
#3
05/18/2004 (2:02 pm)
Add the file to your project, i.e game/fps/

Then add a GuiPingMeterHud GUI to your playGUI.

Properties are:

showFill
showFrame
fillColor
frameColor
textColor
showpingcolor
#4
05/18/2004 (4:27 pm)
Ok Westy, thx ! :)
#5
05/26/2004 (6:46 pm)
If anyone wants, I made a similar HUD to tell your speed in meters/second.
#6
09/04/2004 (10:47 am)
regarding
"If anyone wants, I made a similar HUD to tell your speed in meters/second."

can you make a link to that resource ?
#7
04/11/2005 (3:53 am)
is this resource complete ? it looks like i just drop the file in without directing the gui to load....
im new i know but something is missing from this isnt it ?