top of page

Unity PlayGround Space Game

LT: I can use the Unity Playground to learn more about Unity. I can create obstacles and collectibles. I can use premade scripts to make my game work. I can use the Unity interface. I can create a shooter game

THIS PROJECT WILL INTRODUCE STUDENTS TO THE PROCESS OF HOW TO CREATE A SPACE SHOOTER GAME. IN THIS GAME, STUDENTS WILL LEARN HOW TO DESTROY OBJECTS AND HOW TO SPAWN OBJECTS. STUDENTS WILL ALSO ADD IN POWER UPS TO INCREASE THEIR LIVES AND ENEMIES THAT SHOOT BACK.

Download the files before beginning the videos.

STUDENTS WILL CREATE A BASIC SHOOTING GAME FOR THIS PROJECT. WHEN STUDENTS ARE FINISHED THEY WILL HAVE A SCENE THAT INCLUDES: A PLAYER, OBSTACLES, AND PICK-UPS. THE PLAYER WILL BE ABLE TO MOVE AND SHOOT LASERS WHILE TRYING TO COLLECT THE ALIENS TO SCORE. STUDENTS WILL ALSO SEE HOW TO ADD A BASIC SCORE AND HEALTH SCREEN. WHEN FINISHED STUDENTS WILL CREATE A GAME THAT CAN BE PLAYED BY OTHERS.

1. Getting Started

LT: I CAN CREATE A PROJECT TO GET STARTED.

Students will access the Unity PlayGround and download the assets in order to create this game.

2 . Building the Scene

LT: I CAN CREATE A SCENE FOR MY GAME. I CAN MAKE THE PLAYER MOVE.

This step you will start out by setting up the background and the player. Movement will also be added to the player

3. Making the Laser

LT: I CAN MAKE A LASER SHOOT USING THE BULLET CODE.

This video will show you how to create a Laser Prefab

4. Repeating the Background

LT: I CAN REPEAT AND OBJECT

Learn how to add in a repeating background to create a game that ends only if you win or die.

5. Fix Background in
Photoshop

LT: I CAN OPEN MY BACKGROUND IMAGE FROM UNITY TO PHOTOSHOP

Learn how to open your sprites to make adjustments that automatically save to the game.

6. Destroy Clones

LT: I CAN DESTROY AN OBJECT.

Learn how to destroy the clones in order for your game to run smoothly.

7. Adding Asteroid

LT: I CAN ADD IN AN ENEMY MAKE IT SPAWN

Learn how to add in the asteroid, make it move, and count for points. Also, learn how to make it kill your player.  Then learn how to make it spawn over and over

7.5 Adding Asteroid 
Spawner

LT: I CAN ADD IN AN ENEMY MAKE IT SPAWN

Learn how to add in the asteroid, make it move, and count for points. Also, learn how to make it kill your player.  Then learn how to make it spawn over and over

8. Modify Health

LT: I CAN SET UP MODIFY HEALTH

ADJUST THE HEALTH OF YOUR PLAYER

9. Fix Bullet to Destroy

LT: I CAN MAKE THE BULLET DESTROY AFTER HITTING AN OBJECT

If the bullet doesn't destroy on impact, follow this video to make it destroy on collision.

10. Add 2nd & 3rd Asteroid

LT: I CAN MAKE THE BULLET DESTROY AFTER HITTING AN OBJECT

Add in 2 more obstacles and spawners

11. Add in Audio

LT: I can add a sound effect to my game.

Learn how to make a sound for shooting the laser

12. Add in Asteroid Explosion

LT: I can add an explosion

Learn how to make the asteroids explode

13. Add in Boundaries for Ship

LT: I can stop my player from going off screen

Learn how to stop the player going off-screen while playing

EXTRA:  Add a Patrol for Random Asteroid Creation

Learn how to  make the game harder, by adding a patrol to the Asteroid Spawner

EXTRA:  Add-In Teleport for Ship

Learn how to stop the player going off-screen while playing

PART 2 -Add A Level

LT: I can use the Unity Playground to learn more about Unity. I can create new levels. I can create a trigger to go to a new level. I can create an object to shoot and kill the player. I can create an object the restores the player's health

THIS SECTION OF THE PROJECT WILL INTRODUCE STUDENTS TO CREATING A NEW LEVEL AND HOW TO WORK ON GAME PLAY.

Complete the Previous Lessons Before Moving On.

STUDENTS CREATED A BASIC SHOOTER GAME IN THE PREVIOUS LESSON. IN THIS SET OF TUTORIALS, STUDENTS WILL LEARN HOW TO CREATE A NEW LEVEL AND MAKE A TRIGGER TO CHANGE LEVELS. STUDENTS WILL ALSO CREATE A MENU TO BEGIN THE GAME. AFTER THAT STUDENTS WILL ADD IN OTHER SPACESHIPS AND POWER-UPS TO INCREASE THE DIFFICULTY IN THEIR GAMES.

1. Finish Scene 1

LT: I CAN CREATE THE 2ND LEVEL

STUDENTS WILL FINISH THE SCENE OF LEVEL 1 AND CREATE THE 2ND LEVEL.

2 . Create New Prefabs

LT: I CAN CREATE A NEW PREFABS FOR MY 2ND LEVEL

IN THIS STEP, LEARN HOW TO CREATE PREFABS FOR THE NEW LEVEL.

3. Create Enemy Laser

LT: I CAN CREATE A LASER FOR THE ENEMY TO SHOOT

THIS VIDEO WILL SHOW HOW TO THE LASER SPAWNER FOR YOUR ENEMIES TO SHOOT.

Optional:
POWER UP SPAWNER

LT: I CAN CREATE A SPAWNER FOR MY OBJECT.

CREATE THE SPAWNER FOR YOUR POWERUP AS LEARNED IN PREVIOUS STEPS

4. FINE TUNE THE GAME

LT: I CAN MAKE ADJUSTMENTS TO MY GAME

MAKE ADJUSTMENTS TO MAKE GAME OPERATE BETTER AND ADJUST THE DIFFICULTY LEVEL.

5. MENU

LT: I CAN CREATE A MENU FOR MY GAME

Use the video to create a menu for the player to click or press a key to take them to the game.

6. BUILD THE GAME

LT: I CAN CREATE A WEBGL BUILD

AS IN OTHER GAMES, CREATE THE BUILD OF THE GAME AS A WEBGL TO BE READY TO PUBLISH ONLINE

7. PUBLISH THE GAME

LT: I CAN PUBLISH MY GAME TO THE WEB

PUBLISH THE GAME TO UNITY PLAY AND TURN IN

8. SCREEN RECORD 

LT: I CAN SCREEN RECORD MY GAME

PLAY YOUR GAME WHILE RECORDING THE SCREEN.  WHILE THE RECORDING IS GOING, TALK ABOUT HOW YOU MADE YOUR GAME.  TURN IN THE RECORDING WHEN FINISHED.

bottom of page