Health Bar -- Blender Game Engine



pageok

  
4.  Add an AND Controller to Player

Player selected

Buttons Window menu >> Logic (F4)
Controllers Add
AND Controller

  
5.  Add a Scene Actuator to Player

Note:
We are adding the HUD containing the health bar as an overlay scene

Player selected

Buttons Window menu >> Logic (F4)
Actuators Add
Scene Actuator
Type:  Add OverlayScene
SCE:  HUD

  
6.  Connect the Always Sensor >> AND Controller >> Scene Actuator

Player selected

Buttons Window menu >> Logic (F4)
Pull wire from brass bump to brass dimple

 
 
 
pageok