Scratch exercise 12

Simple collision 2 - colour button

Complete these steps ..



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

 

Now re-name sprite1 "Cat".

 

 

2. Add these scripts to Mr Cat ..

 

 

3. Make a simple square button (any colour you like) by painting a new sprite ..

 

 

4. Re-name the square button "colour button".

 

 

5. Add these scripts to the colour button ..

 

 

6. Press the "B" key to begin your game, and then use the arrow keys to make the cat walk and touch the colour button.

Press the "E" key to end your game.

 

 

7. Go to "File > Save as" and save your game. Name it "Colour button"