Scratch exercise 29

Random spawning

Complete these steps to have your cat spawn at a random size, location and time ..

 

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

 

 

2. Select the cat sprite under the stage and re-name it "Cat". Add these scripts to it ..

script

 

3. Press the "B" key to spawn the Cat at a different location on the stage.

 

4. Go to "File > Save as" and save your game. Name it "Random spawning"