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. Jeux d'évasion et caractère aléatoire


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.

Suivant arrow_forward
  1. Ouvre Scratch, connecte-toi, et crée un nouveau projet.
  2. Ajoute un arrière-plan.
  3. Ajoute 2 lutins.