Project
Space Chicken
Deadly Asteroids Arrive
Tutorial
Beginner
20 Mins
Unity Technologies
Summary
Building out the collision system, and the ability to destroy asteroids with lasers, in the Space Chicken game.
Language
English
Recommended Unity Versions
2018.1
1.
Detecting Collisions with Obstacles, Like Asteroids
  • Detect when the chicken collides with an asteroid.
  • Creating "classes" in Ready, or “tags” in Unity.
  • Creating a "game over" moment when the player runs out of life.
  • Restarting the game after the player dies.

2.
Launching Asteroid-Destroying Lasers
  • Add a "laser object" the chicken can use.
  • Adding a "fire button" for the player to tap.
  • Instruct the chicken to fire lasers upwards.
  • Using a "mouse-down" command in Unity to shoot.

3.
Destroying Asteroids when Hit by Lasers
  • Giving an explosion effect to the asteroid, when hit by a laser.
  • Using counters to track the state of the asteroid.
  • The Unity particle system.

Woohoo! You nailed this tutorial.
Continue rocking your Space Chicken project.
Next Step:
An Arch Villain Makes Their Appearance
Tutorial
Beginner
20 Mins
Unity Technologies