Page 77 - TP-Play_V-2.0_Book-5
P. 77

Clicking on     stamp  block creates a duplicate of the current Sprite. The image is
               stamped on the stage. To see the image, click on the Sprite and drag. A duplicate
               of the Sprite appears behind it.

                  pen up  block puts the pen up and stops the Sprite from drawing anything.

                The Sprite draws a non-stop line wherever it moves using                  pen down  .

                 Use    set pen color to   block to set the color of the pen to a color of your choice
               from the drop-down menu.

                  change pen color  by 10   block changes  the
               pen color,  saturation,  brightness and

               transparency. Click on the first text box to
               select and change the pen effects. Click

               on the second text box to give a value by
               which the effect will change.

                  set pen color to 50  block will set the pen color,
               saturation, brightness and transparency to
               the given value.


                DRAWING A LINE IN SCRATCH

            Let's learn how to draw a line in Scratch.
            Look at the code and its output.

            The line appears on the stage.



            To view the line in full screen, click on

            Full Screen  Control  button               on

            the top right corner of the stage.

                DRAWING POLYGONS IN SCRATCH

            Polygons are 2D shapes with three or more straight lines and angles. Examples of
            polygons are triangle, square, rectangle, quadrilateral, pentagon, octagon, etc.








             Equilateral   Square     Pentagon  Hexagon  Heptagon  Octagon  Nonagon  Decagon
              Triangle     (4 sides)   (5 sides)    (6 sides)   (7 sides)    (8 sides)   (9 sides)   (10 sides)
              (3 sides)




                                                                             Creating Shapes in Scratch      77
   72   73   74   75   76   77   78   79   80   81   82