Scratch exercise 46

Auto shape drawing - calculated

It this tutorial you will create a simple drawing tool that asks you how many sides you would like before drawing a shape.

Complete these steps ..

 

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

 

 

2. Delete the cat by right-clicking on the sprite thumbnail below the stage.

 

 

3. Paint a sprite containing only a single tiny black dot and name it "Black dot" ..

 

 

4. Add these scripts to the Black dot sprite ..

 

 

5. Press "B" to test your game. Press "E" to end it.

 

 

6. Save your game.

 

 

7. Can you add extra script "ask" blocks so the player can choose shape size, and line thickness (pen size)?