Lesson 3

Lesson Objective

  • To move the character around the screen.
  • To stop your character going through the walls.

Starter Challenge

  • Log on to Scratch using your user name and password
  • Open the Scratch game you started in the last lesson
  • Share your Scratch game
  • Copy the link and paste it into Google Classroom and Hand it in.

Challenge 2 - Move your Sprite around the Screen

Check out the video opposite for ways to create your maze.

Code your character to move around the screen using the arrow keys on the keyboard.

Tips

  • Use the Forever loop to ensure the it is always asking the question
  • Use the IF condition to ask the question "If the UP key is pressed, change y by 5"
  • Repeat the IF condition for all four directions.

Cross Curricula Learning

Maths

  • Understanding Percentages
  • Understanding Coordinates (x and y axis)
  • Understanding negative numbers

Challenge 3 - Stop your Character going through the walls

Check out the video opposite for ways to create your maze.

In this challenge you will stop your character from going through walls.

  • If the character touches the colour of your maze make the character go the other way.
  • Use the IF condition to do the opposite for each of the directions.

Extension Challenge

Check out the video opposite for ways to create your maze.