Health Bar -- Blender Game Engine




 
1.  Switch Scenes:  HUD

Note:
The health bar will be located in an overlay scene named HUD

User Preference menu >> Scene box
HUD


  
2.  Add a Camera to the HUD

Note:
To make things easy, I will be positioning the camera at [0.0, 0.0, 2.0] with a rotation of [0.0, 0.0, 0.0]

Add camera   
Spacebar >> Add >> Camera
or
User Preference menu >> Add >> Camera

Position Camera
Transform Properties
N key
or
3D View menu >> Object >> Transform Properties
Location
LocX = 0.0;  LocY = 0.0;   LocZ = 2.0
Rotation       
RotX = 0.0;  RotY = 0.0;  RotZ = 0.0

 
 
   
3.  Add a Plane
   
Note:
The plane will become the health bar named HealthBar.

Note:
To make things easy, I will be positioning the plane at [0.0, 0.0, 0.0] with a rotation of [0.0, 0.0, 0.0]

Add plane
User Preference menu >> Add >> Mesh >> Plane
or
Spacebar >> Add >> Mesh >> Plane

Position plane  -- Plane selected -- Object Mode
Transform Properties
N key
or
3D View menu >> Object >> Transform Properties
Location
LocX = 0.0;  LocY = 0.0;  LocZ = 0.0
Rotation       
RotX = 0.0;  RotY = 0.0;  RotZ = 0.0
Name  
HeathBar

 

 
 
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.