top of page
Logo_BezNapisu_edited.jpg

How to create Health System in Unity (Unity Tutorial)

Zdjęcie autora: FireRaccoonFireRaccoon


Let's create health system or attempt counter in unity combined with Win/Lose Conditions.


►Hit the link to all Tutorials


This can be used also as player lives counter that we lose after collision. This video will not only show you how to create health system but also implementation and trigger it in proper way. You will not see this in other tutorials. We will also create simple Win or Lose menu and conditions. Using Unity Animation


►Contents of This Video:


00:00 - intro

00:55 - Creating Health System / Attempt System

01:56 - Creating UI Panel

03:16 - Adding health images to the panel

05:03 - Creating Script that controls Health System

05:53 - Assigning Script to the Player

07:01 - Testing if number of lifes works

07:49 - Creating Win Conditions

08:07 - Putting Win/Lose conditions to the script

09:23 - Creating Manager Game Object

10:46 - Creating Win Panel

11:19 - Creating Lose Panel

11:48 - Testing Win Conditions

12:22 - Creating Death Borders in Test Game

13:45 - Creating Script for border that will takes our life after collision

13:56 - Testing is health system works


►Don't forget to Subscribe for NEW game dev videos

►I know many things may be done better not as good as Brackeys, CodeMonkeyUnity, SasquatchBgames but good as well: "if something is working cannot be bad" :)


cheers FireRaccoon Games



























1 wyświetlenie0 komentarzy

Ostatnie posty

Zobacz wszystkie

コメント


bottom of page