4-8 Games in Scratch, Score and Timer

Objectives: 
In this lesson, students will make their games more interesting by keeping score and adding a timer.
  • Students will create variables to keep score and learn how to change and reset these variables. 
  • Students will keep time using Scratch's built-in timer.

Engage

Watch: Games in Scratch

YouTube Video


Using Scratch's Built-in Timer

The first variable we can add to our game is a timer. This can be found near the bottom of the "Sensing" tab in the script section.
When setting up your timer, remember to reset the timer every time a new game is started. Follow the video below for more instruction.

YouTube Video




Adding a Variable to Keep Track of Score

Next, we will make a variable to count how many times our hero sprite reaches the goal. This will be our score. For information on what a variable actually is and how to implement it in Scratch, watch the video below!

YouTube Video


Check Your Understanding

Wrap-Up

YouTube Video