Privacy Policy
Contact
Help
Links
Home
Health Bar -- Blender Game Engine
Tutorial Index
Health Bar Part 1
Steps 1-3
Steps 4-6
Health Bar Part 2
Health Bar Part 3
starting blend
finished blend
pageok
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
pageok