Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

1. Escape Games and Randomness

  • 1. Escape Games and Randomness
  • 2. The Chase Is On!
  • 3. Programming the Player Sprite
  • 4. Keeping Score
  • 5. Add-Ons
  • 6. Reflection
  • 7. Wrap-up: Escape Game
  • 8. Wrap-up: Share Your Project
  • 9. Wrap-up: Show Your Project
Next arrow_forward
Transcript

Hey and welcome to Day 5 of Scratch Games! Today you will create an escape game, where the player’s character must avoid bouncing sprites. This game will introduce randomness, as well as a scratch variable: the timer. Randomness is an important concept used in many different games. For example, whenever you play a game that involves rolling a die such as Monopoly, each roll gives you a random number between 1 and 6.

Randomness is often used in video games as well.

In the Pokemon video games, players encounter pokemon randomly in the wild. You never know when you’re going to see a wild Pokemon, or even which Pokemon you might encounter!

Randomness is also important for sport games. For example, football video games use randomness to ensure that unexpected things happen, no matter how many times a player plays the game.

This includes everything from the plays that are called, to having the computer players fumble and intercept the ball at random points in the game.

In today’s game, the player must control a sprite to avoid enemies that are randomly moving around. This game is fun because the enemies move in random directions-- you won’t know where the enemies will go next!

The next screencast will begin to guide you through the programming of this game.

But first, you need to design your project. Take a minute to: Open scratch, sign in, and create a new project Add a backdrop, and Add two sprites - one as the player, the other as the chaser.

After you finish these steps, move on to the next screencast.

Instructions
  1. Open Scratch, sign in, and make a new project.
  2. Add a backdrop.
  3. Add 2 sprites.