Monday, 12 January 2015

Scratch programming - Lesson 2 Using If and Else

Lesson Objectives

Demonstrate Selection programming using 'if' in Scratch

Starter

Click the image to watch an introduction to 'selection' and 'if'

Main Tasks

NOT GOT SCRATCH ON YOUR MACHINE? - Click HERE

Red Task
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














Orange Task
Task 2: If Else


Green Task
Task 3: '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 
b) Complete the Lesson 1 & 2 section
c) Save your work


Homework
Complete the next task in your HomeStudy Booklet


Year 7 Exam Week - next week - 19th-23rd January. Revise HERE

No comments:

Post a Comment