Sunday, 31 January 2016

#7wb3 - Unit 1 - Scratch - Lesson 2

Lesson Objectives 
LO1 To understand how to use selection programming using 'if' statements

Outcomes
Red - You will be able to explain what selection is
Amber - You will used an IF block for your enemy character
Green - You will have used an IF ELSE block on your good character





Starter


 

 

 

 





Main



Task 1: 'If' in Scratch
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'













Extension

Add in some If and If Else statements of your own into the game


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
Due in next lesson - Tuesday 13th January