ART155: Unity Part 7 -- 2D Sprite Health Gauge and Lives with Playmaker

Published: 03 April 2015
on channel: Aaron Granofsky
4,576
54

This tutorial covers how to create a health gauge that grows and shrinks as the player gains and looses life, and this also covers how to gain and loose lives and how to visually show it on the screen

Overview: 0:00
Importing sprites: 1:29

-Creating a Health Bar-
Coding the health bar: 3:13
Enemy causes health damage: 15:26
Making the health bar fancy: 26:08
Setting health bar to the screen corner: 28:17
Adjusting health bar layer order and color: 35:42

-Creating a Lives System-
Setting up the lives code: 37:10
Drawing textures with GUI: 45:38
Coding in more lives: 52:07
Restarting level when losing life: 55:05

Hiding the state names from view: 58:05


Watch video ART155: Unity Part 7 -- 2D Sprite Health Gauge and Lives with Playmaker online without registration, duration hours minute second in high quality. This video was added by user Aaron Granofsky 03 April 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,576 once and liked it 54 people.