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
Смотрите видео ART155: Unity Part 7 -- 2D Sprite Health Gauge and Lives with Playmaker онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Aaron Granofsky 03 Апрель 2015, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,576 раз и оно понравилось 54 людям.