Healthbar above enemy in unity that will rotate towards player.
►Hit the link to all Tutorials
How to create an enemy healthbar in Unity - enemy AI in unity. Script how to Patrol, Stop, Attack, Shoot, Animation change, Health, Damage, Behavior. Please find my way of creating enemies behaviour and animation handling in Unity. This video is about how in easy and effective way implement enemy behaviour that scale easily and can be unique for every single enemy in game in 2D mode. Also bonus with animation creation how to handle that and create. this will be a series of few videos to show complete all doing enemy:)
►Contents of This Video:
00:00 - intro
00:13 - Creating HP bar above enemy with UI
05:00 - Creating script for enemy health
12:20 - Creating Die function and damage into enemy
15:29 - Test 15:47 - Adding Hit animation to enemy
17:10 - HealthBar setup and adjustments
17:25 - End full 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