Scratch game making tutorial 59

Walk and touch

In this game your cat will walk, touch objects and make them change in some way.

 

1. Create a new Scratch game.

 

 

2. Re-name it "Cat" ..

 

 

3. Add these scripts to the cat ..

 

 

4. Press the "B" key to try out the left and right arrow keys. If your cat is walking left and right OK, press "E" to end.

 

 

5. Use "File>Save as" to save your game. Name it "Walk and touch".

 

 

6. Click the "paint new sprite" button under the stage and paint a red square ..

Click "OK", and re-name it "red square".

 

Let's make it spin when the Cat touches it. Add these scripts ..

 

 

7. Now paint another new spite. This time make a yellow circle ..

Re-name it "yellow circle", then add these scripts to it ..

 

 

8. Press the "B" key to test your game. Use the arrow keys to move the cat and touch the square and circle. Press the "E" key to stop your game.

 

 

9. Select "File>Save" to save your game.

 

 

11. Well done. You've finished. Can you add other objects which the cat can change?