Health Bar -- Blender Game Engine


 
pageok



  
1.  Optional Test:  Add a Keyboard Sensor to your player

Note:
The Up Arrow will be used to test adding health to the player.

Buttons Window menu >> Logic (F4)
Sensors Add
Keyboard Sensor
Key:  Uparrow

  
2.  Optional Test:  Add an AND Controller to your player

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

  
3.  Optional Test:  Add a Property Actuator to your player

Note:
The Property Actuator (Type: Add) will add 5 health points to the Property Health.

Buttons Window menu >> Logic (F4)
Actuators Add
Property Actuator
Type:  Add
Prop:  Health
Value:  5

   
4.  Connect the Keyboard Sensor >> AND Controller >> Property Actuator

Player selected

Buttons Window menu >> Logic (F4)
Pull wire from brass bumps to brass dimples


 
  
pageok