Sunday, 7 February 2016

Unit 1: Scratch - Lesson 2


Demonstrate Selection programming using 'if' in Scratch




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



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





a) Open your Scratch Evidence Document that you started last lesson
b) Complete the Lesson 2 section
c) Save your work

No comments:

Post a Comment

Wildern Pupils if you log onto your school email account you can leave a comment via that ID.