Health Bar -- Blender Game Engine

 
   



 
1.  Add a new scene

Note:
The health bar will be located in an overlay scene named HUD (Heads Up Display)

User Preference menu >> Scene box
Add New
Add scene
Empty
Give it a unique name
Name:  HUD

   
2.  Switch Scenes:  From HUD  to scene with your player

Note:
style="color: rgb(51, 51, 153);">
For this tutorial, the scene with the player is named Scene

User Preference menu >> Scene box
Scene

  
3.  Add an Always Sensor to your Player.  Set to run once

Note:
Always Sensor >> AND Controller >> Overlay Scene Actuator
This loads the HUD with the health bar

Player selected

Buttons Window menu >> Logic (F4)
Sensors Add
Always Sensor
Set to Run Once


 
  
Download free seamless game textures or you can create your own seamless game textures. Use reference photos to add realism to the seamless texture you create. Textures let you create the style and mood for your computer game. Textures are a way to add detail and color to 3D graphics. Photo realistic textures add realism. Download free game models for your video game or create your own game models. Use the game models in First Person Shooter, role playing games, racing simulations and more. Download free textures to add detail to your game models. You can use the free game models you downloaded or model your own game models.