Objective: Create a powerup that decreases the player’s speed.

First let’s create visual. I basically just grabbed the speed powerup, renamed it, changed its color, changed the powerup ID, and turned it into a new prefab.

Objective: Change the ammo display so it shows both current ammo and the max amount of ammo.

Let’s go to our UIManager script and add a new variable.

Now wherever the display get’s changed we need to make sure to add “/” and the max ammo afterward.

Sabrina Windsor

Sabrina Windsor

Currently learning to code with the help of GamedevHQ in order to someday my my game ideas come to life!