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
Plenary
a) Open your Scratch Evidence Document
b) Complete the Lesson 3 section
c) Save your work
No comments:
Post a Comment