Back to Browse

Unity 2D Platformer Tutorial 24 - Health Bar (Part 1)

8.2K views
Oct 20, 2021
8:49

This video demonstrates how to set up a health system and health bar in a 2D platformer game in Unity. Code for this tutorial - Health script: https://github.com/danielkwood/Unity2DPlatformerGame/blob/2075d711a395a4c030d2063275b47c0f3ff3bfa3/Scripts/Health.cs HealthBar script: https://github.com/danielkwood/Unity2DPlatformerGame/blob/dab755bd895a5d4a3b28d81481e532b3907f03b3/Scripts/HealthBar.cs Updated PlayerController script: https://github.com/danielkwood/Unity2DPlatformerGame/blob/188e81f6375e0ffb36512d7b139df1295cc7b0b0/Scripts/PlayerController.cs Unity website - https://unity.com GitHub - https://github.com/danielkwood/Unity2DPlatformerGame Free Pixel Space Platform Pack - https://assetstore.unity.com/packages/2d/characters/free-pixel-space-platform-pack-146318

Download

0 formats

No download links available.

Unity 2D Platformer Tutorial 24 - Health Bar (Part 1) | NatokHD