how to create health mana bar ?
by gdyxml2000 · in Torque 3D Beginner · 08/05/2014 (8:51 am) · 3 replies
how to create health mana bar with character in RTS game ?
just like :

just like :

About the author
#2
@Mack - that's actually a "HUD" element, not rendered in world-space. But the one three slots down is rendered in world-space over the unit.
08/05/2014 (9:44 am)
I'd start by looking at engine/t3d/fps/guiShapeNameHud.cpp (Shows name and health bar over player's head in world). It could be extended to show both health and energy (which could double as "mana" if you wish).@Mack - that's actually a "HUD" element, not rendered in world-space. But the one three slots down is rendered in world-space over the unit.
#3
08/05/2014 (9:47 am)
@Richard: Ah, yes, you're correct, I was thinking HUD and not world space.
Torque Owner 000
-
I believe you can edit it to show energy as well (if you're using that for your mana).