Hit Point and Healing - Lakelands Computing

Title
Go to content
Hit Points and Healing
If you build a combat game, you will want to keep track of how healthy your character is. Its health (or life) is measured in hit points

You can set the hit points of an object in its settings. You can also tell the object to show its hit points so you get a life bar. When playing the game being shot will reduce hit points but you can program it so maybe eating an apple will heal a certain amount
All Text copyright Lakelands Academy & Mr T Purslow 2020.
All images copyright free / creative commons unless otherwise stated.
You are welcome to use under a Creative Commons Attribution-nonCommercial-ShareAlike License.
All Text copyright Lakelands Academy & Mr T Purslow 2020.  All images copyright free / creative commons unless otherwise stated. You are welcome to use under a Creative Commons Attribution-nonCommercial-ShareAlike License.
All Text copyright Lakelands Academy & Mr T Purslow 2020.  All images copyright free / creative commons unless otherwise stated. You are welcome to use under a Creative Commons Attribution-nonCommercial-ShareAlike License.
Back to content