12. Drawing Lines and Shapes

In addition to displaying sprites with different costumes and different stage backgrounds, Scratch also draws custom lines, shapes, and other graphics using pen code blocks. Using a virtualized pen, these blocks allow you to set the color, width, and shade used in drawing operations. This chapter reveals how to work with all of Scratch’s pen blocks and will end by demonstrating how to use them to create a paint drawing application.

The major topics covered in this chapter include learning how to:

  • Draw using Scratch’s virtual pen

  • Set the color used when drawing

  • Set pen shade and size

  • Stamp a copy of a costume on the stage

  • Clear the stage of any drawing operations

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.39.252