Space Shooter Game Enhancements

FirstLevelPicture GameOverPicture

Introduction

This project enhances the existing Space Shooter game by implementing the following features:

  1. Shooting Cool Down: Added feature to any class that inherit from ClickSpawner to have a cool down before the next spawn, or not cool at all, default is 0.5 sec cool down, therefore shooting that spawn every click on backspace can shoot only every half a sec.
  2. Player Position Transition at Next Level and Game Over Enhancements: I added the option to change the gotoNextLevel position relative to the object's last position or independently. Additionally, the Game Over scene has been updated to exclude the player and include a UI score that updates according to the game_status class, featuring an improved UI design.
  3. Modified Spawn Position and velocity: Changed the game property to be more exciting, enemy spawn and direction movements.
  • Files and farther explanation in here: here

A project with step-by-step scenes illustrating some of the formal elements of game development in Unity, including:

  • Prefabs for instantiating new objects;
  • Colliders for triggering outcomes of actions;
  • Coroutines for setting time-based rules.

Text explanations are available here in folder 04.

Cloning

To clone the project, you may need to install git lfs first (if it is not already installed):

git lfs install  

To clone faster, you can limit the depth to 1 like this:

git clone --depth=1 https://github.com/<repository-name>.git 

When you first open this project, you may not see the text in the score field. This is because TextMeshPro is not in the project. The Unity Editor should hopefully prompt you to import TextMeshPro; once you do this, re-open the scenes, and you should be able to see the texts.

Credits

Programming:

  • Maoz Grossman
  • Erel Segal-Halevi

Online courses:

Graphics:

StatusReleased
PlatformsHTML5
AuthorKG-Proj
GenreSurvival
Made withUnity