Objective: Create a Player fired missile that will hunt down and destroy the closest enemy.

The powerup itself will work the same way all the other powerups work and will be added to the modular powerup system I created Here.

I also decided to use a separate ammo system for my missiles the same way I created an ammo system for the Player’s laser weapon Here.

Create the missile sprite and attach a new script to the prefab called Player_Missile:


Objective: Change the Player’s shield to take up to three hits and change in color to indicate the shield’s strength.

The first thing we will need to do is go to our Player script and add two variables:


Objective: Create a powerup that when collected will restore health to the Player.

I will be adding to the modular powerup system I created in This article and I will be creating a powerup the same way I created my other powerups in previous articles.

The first thing we need to do is create and animate the powerup:


Objective: When the Player takes damage the camera will shake for a split second.

The first thing that needs to be done is we need to create an Idle animation and a shake animation for the Main Camera:


Objective: Create a powerup that restores the Player’s ammo when collected.

We will be adding to the modular power-up system we created in this Article.

The first thing we need to do is create the powerup, give it a rigid body, collider, and powerup script:


Objective: Limit the Player’s ability to fire their laser using an ammo system.

To begin we need to create the UI so the player can see how much ammo they have. I will be using the same method in my previous article Here:


Objective: When the Left Shift key is held with a directional key the player will play a turning animation in that direction.

The first thing we need to do is create an animation for each of the different states our Player can be in:


Objective: Have the fuel bar change color as the charge depletes.

To begin we need to use:


Objective: Limit the Player’s thruster usage with a charge meter and have the charge regenerate after a small delay.

To begin we need to create a Slider that will act as the charge meter and have the color green with a white background. Also, we will use text to indicate the slider is for the thrusters:


Objective: Create a simple thruster system that speeds up the player when the “LeftShift” key is pressed.

The first thing that we need is a float variable for the thruster’s move speed:

Tacoma Johnson

Learning to become a unity game developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store