Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lesson Objectives To understand how to make sprites interact

Similar presentations


Presentation on theme: "Lesson Objectives To understand how to make sprites interact"— Presentation transcript:

1 Lesson Objectives To understand how to make sprites interact
To understand the FOREVER IF command To understand how to control sprites using the keyboard

2 What do you think this script does?
On scratch we can make sprite interact using the FOREVER IF command. IF it touches sprite 2, it goes to those co-ordinates

3 Extension Make 3 keys or coins to collect
Create a door which will only open once the 3 items have been collected.

4 Extension If you want to add items to collect, you will need a score to record it. Make a new variable called Score.

5 Create items to collect
Once you have created your variable you can add a script like this to each item. When the flag is clicked it will reset the score and make sure the key is sowing When it touches the ball, it will add 1 to the score and disappear

6 Opening the door When the green flag is clicked it will reset the game and show the door If the score equals 3 (if all 3 keys have been collected) the door will hide.


Download ppt "Lesson Objectives To understand how to make sprites interact"

Similar presentations


Ads by Google