lets create animated health bar above enemy. easy simple script sor all enemies just copy paste
►Hit the link to all Tutorials
lets create a health bar above enemy in unity. This will be easiest and fastest way of doing it in my opinion. Scripts are clean easy and very universal. Today only functionality will be implemented full damage that will pass via player attack will be presented in next tutorial. Unfortunately enemy animation you have to create by your own. Hope you enjoy!
►Contents of This Video:
00:00 - intro
00:12 - Create Enemy Prefab
00:26 - Create Health bar UI elements
01:50 - Create Enemy Health Bar Script
02:29 - Create Enemy Health script that controls health bar
02:50 - Assign health to enemy
03:12 - Final Test and end functionality
►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
Comments