2.5D Certification: Collectable
The next requirement is to create a collectable. This has been created before in:
If you have implemented it before in one game, you probably will do it in another game. In the past, I created a power…
For now, my collectable is a Battery:
It uses a Delegate to communicate that the Battery collided with the Player:
From the Player, it calls another Delegate to update the UI:
The UIManager updates the UI text:
We can add more collectables in this manner. However, for now, we will just use batteries.