Scratch exercise 22

Eating cake

In this exercise you will make sprites change size when they touch one another.

 

Complete these steps ..

 

1. Create a new game. Either open Scratch or if it is already open choose "File>New" ..

 

 

2. Use the "Paint new sprite" button under the stage to paint a new sprite of a cake like this ..

Re-name it "Cake".

 

 

3. Select the Cat sprite under the stage. Change it's name from "sprite1" to "Mr Cat".

 

 

4. Look at the image below and copy the scripts onto Mr Cat ..

Click the middle direction button to ensure Mr Cat can only face left or right ..

 

 

5. Select the Cake sprite. Look at the image below and copy the script onto the cake ..

 

 

6. Go to "File > Save as" and save your game. Name it "Eating cake"