Lesson Objectives
LO1 To understand how to use selection programming using 'if' statements
Outcomes
Red - You will be able to explain what selection isAmber - You will used an IF block for your enemy character
Green - You will have used an IF ELSE block on your good character
Starter
Task 1: 'If' in Scratch
Main
a) Launch your Scratch game from last lesson
b) Add some code blocks to your game for the enemy sprite that:
- makes the enemy sprite move in a random direction
- if touching the edge bounce away
Try experimenting with the degrees and steps
|
Task 2: 'If Else' in Scratch
a) Edit the code blocks of your main character sprite to include an 'If Else' statement
Try changing the 'mouse down?' block and the timings on 'say'
|
Plenary
a) Open your Scratch Evidence Document that you started last lesson
b) Complete the Lesson 2 section
c) Save your work
Homework
Complete the next Task 6 and Keywords in your Blue HomeStudy Booklet