Monday 25 January 2016

If statements - Scratch


LO:  Demonstrate your ability to use an 'if' statement in Scratch

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
These are the codes blocks you could use



















Task 2: If Else

Task 3: 'If Else' in Scratch
a) Edit the code blocks of your main character sprite to include an 'If Else' statement

These are the code blocks you could use



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