https://lwmmg.itch.io/hamsterfire

My third game was a top down shooter which included the same characters as my space invaders game, this was done because I liked the concept and I decided that I would keep using it for the rest of my games.
This game includes some similar features as the space invaders game such as the shooting is done in a similar way, as is the movement of the player.
The enemies track the player using the target feature and follow the player and also look at the player whenever the player moves, there is 5 different enemies which are identifiable by the colour, the basic grey rat is the weakest with the turquoise, brown and purple ones increasing in speed with the purple being faster than turquoise and brown being the slowest aside from grey, then the black enemy is as fast as the purple enemy and also has more health and takes 5 shots to kill compared to the one of every other enemy.
the character shoots 2 bullets at once to match the gun on each side of the model, a bullet is created at the tip of the gun and is fired in the direction of the cursor.
The character moves by getting the horizontal and vertical values that are a part of unity and adding velocity of that direction to the player character.
the character looks at the cursor by using a script on the target that follows the mouse on the screen and then the player is rotated to face the target.
This is my first game that included audio, the guns make a gunshot sound each time with several variants and different pitch and volume, this was done using both code and an fmod emitter attached to the barrel of each gun, this is done so that there is two gunshot sounds played at once to properly represent the two guns that are shot.
