Thursday 4 February 2016

Scratch - Lesson 3 Variables

Lesson Objective

To be able to create a variable


Starter

Watch the video


Main

Red Task
Creating a Variable
a) Open your Scratch game and create a 'score' variable












Amber Task
Changing Score
a) Add script to your main character that sets the score to '0' when the game starts







b) Add script to your 'enemy' that will decrease the score by 10 points (-10) when you hit it










Green Task
Collecting Points
a) Load or create a sprite to act as way to collect points (coin, heart, jewel etc.)

b) Add script to your 'good item' that will increase the score by 10 points


Extension
Try adding a life or health variable into the game

Plenary

a) Open your Scratch Evidence Document
b) Complete the Lesson 3 section
c) Save your work

No comments:

Post a Comment