Game Development Community

Guihud

by Ian Dale · in Torque Game Engine · 01/10/2005 (6:45 am) · 2 replies

Is their anyway to dynamically change the image of a HUD during the game?

I'm interested in having a HUD, kind of like the cross hair, that changes depending on what your looking at. i.e. if your looking at a door, the hud changes to an open door icon, if your looking at a rock, it might change to a pickup icon.

Any ideas?

#1
01/10/2005 (7:08 am)
This is a trivial change.. just set the correct crosshair via setvisible(); depending on what object you are facing.
#2
01/10/2005 (7:10 am)
Thanks.