Chapter 33: Health Collectible

Joshua Kidd
Nov 28, 2023

--

Just like Chapter 32 Check out these Chapters along with the last to see how to code power-ups and collectibles into the game:

Chapter 16: Creating Modular Powerup Systems | by Joshua Kidd | Oct, 2023 | Medium

Chapter 17: Switch Statements to the Rescue — Joshua Kidd — Medium

Chapter 32: Ammo Collectible — Joshua Kidd — Medium

After reviewing these Chapters implement a new power-up for Health. Use the processes in the Chapters and statements no variable is actually needed in the player script to activate a function.

under void Damage()

In the Powerup Script:

--

--