2D Galaxy Shooter P1: Adding an Ammo Collectible!

Gabriel Perez
Apr 27, 2021

--

For today’s challenge, I had to implement an ammo collectible to restock on ammo! My pilot is now happier!

Ammo count restocks when colliding with the ammo power-up!

The logic for implementing a collectible is the same as the one I did for the health! Take a look at it if you haven’t seen it here. So this will be fairly a short one.

I had to, again, customize my own ammo collectible icon in photoshop. This is the result!

The way I have it set up is simple and flexible. The power-up system is modular to the point that it is effortless to add more power-ups.

With the new Ammo Power-up, I can now restock my ammo!

For tomorrow’s Challenge, I will implement a thruster feature!

Thank you for reading!

Gabriel

--

--

Gabriel Perez
Gabriel Perez

Written by Gabriel Perez

Hello everyone, My name is Gabriel Perez, I am a Unity Developer and a creator who is always learning and experimenting.

No responses yet