Page 111 - 2622_Delhi Police Public School_C-4
P. 111

The Pen blocks are added to the Code tab.    Degree of the angle at the corner
 Now let us learn about some of the Pen   Hintbot     It is very easy to calculate this. Just divide 360 by the number of sides in the shape. For

 blocks and what they are used for.  You can also add translate extension from   example, to draw a triangle, the turn will be 360/3 (sides of the triangle) = 120.

     erase all  block erases  everything   the add extension button to translate text   Look at these polygons that can be made using Repeat.
 drawn by the pen.  into many languages.
                                    Polygon                                   Command
     stamp  block creates a duplicate of the
 current sprite. To see the image, click on the sprite and drag.  Triangle      Repeat 3 [Move 100 Steps   Turn 120 degrees]
                          (3 Sides)
     pen up   block  puts  the  pen  up  and  stops  the  sprite  from drawing
 anything.                Square                        Repeat 4 [Move 100 Steps   Turn 90 degrees]
                          (4 Sides)
  The sprite draws a non-stop line wherever it moves using   pen down .
                          Pentagon
     set pen color to    block sets the colour of the pen to a colour of your   (5 Sides)  Repeat 5 [Move 100 Steps   Turn 72 degrees]

 choice from the drop-down menu.
                          Hexagon
     Change pen color  by 10   block  changes  the  pen  colour,  saturation,   (6 Sides)  Repeat 6 [Move 100 Steps   Turn 60 degrees]
 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   Heptagon      Repeat 7 [Move 100 Steps   Turn 51 degrees]
                          (7 Sides)
 value by which the effect will change.
                          Octagon
     set pen color  to  50  block will set the pen colour,   (8 Sides)  Repeat 8 [Move 100 Steps   Turn 45 degrees]

 saturation, brightness and transparency to the given
 value.                   Nonagon                       Repeat 9 [Move 100 Steps   Turn 40 degrees]
                          (9 Sides)
 To view the line in full screen, click on Full Screen Control

 button    on the top right corner of the stage.  Decagon      Repeat 10 [Move 100 Steps   Turn 36 degrees]
                          (10 Sides)




 What  if  you  could  use  Scratch  to  create a  sports  competition  game? What  sports   Topic Flashback  21 st  Century   #Critical Thinking
                                                                                                 #Information Literacy
                                                                                            Skills
 would be included, and how would players train and compete to become champions?
                       Write names of the following shapes in the below-given blanks.
                        1.                                           2.
 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.  3.  4.

 To draw polygons in Scratch, you must remember a few thumb rules. They are:  _______________________  _______________________

   Number of sides in the shape  5.                                  6.

    This is the value to be given in repeat block. For example, you give Repeat 3 to draw a
 triangle and 4 to draw a square.       _______________________                      _______________________






                                                                                       Creating Shapes in Scratch  109
   106   107   108   109   110   111   112   113   114   115   116