2D Shooter Final
The three final modifications I made are:
1. Created a script that awards the player a life every x amount of points. It is titled lifeByScore and is attached to the GameManager object and is stored in the Health&Damage scripts folder.
2. Created a script that Increases Player speed and decreases spawn delay on the enemy spawners. SpawnFasterOverTime is attached to the GameManager object and is stored in the Enemies script folder. IncreaseSpeedOverTime is attached to the Player and is stored in the Player script folder.
3. I added a star prefab that increases the players fire rate by 20% every time it is picked up. To do this I added a star prefab and created a script to check for collision with the player, award fire rate and then disappear. I also modified the enemy spawner script to spawn this power up at a random location every x seconds. Both of these scripts are stored in the powerups script folder and the prefab is located in the power up prefab folder.
Other small improvements I made was creating scripts to track and update current lives and attack speed. which increase as players gain more. I also added text to the instruction screen and added a basic background to the main menu
One thing I could not quite figure out was dealing with the sound generated by the gunner enemies as more and more are spawned so that is a little annoying and I apologize.
Credits:
Basic project provided by Michigan State University
Modifications by Tyler DeFeyter
Star Power-up Prefab provided by Écrivain at https://opengameart.org/content/star
Leave a comment
Log in with itch.io to leave a comment.