DARK SOULS in Unity – Ep. 75

In this episode we create a poison system that will poison the player after a certain amount of poison build up has been reached! Put simply, the player will walk onto a poison surface/area. A “Poison Build Up” will start to develop over time as long as the player is in the poisoned area. Once the build up reaches 100%, the player will then become poisoned, taking damage every poison damage tick. The poison will wear off after a certain amount of time, or after the player dies.

Sebastian Graves