Page 84 - CloudGPT_C4_Flipbook
P. 84

The Pen blocks are added to the Code tab.
              Now let us learn about some of the Pen                                      Hintbot

              blocks and what they are used for.                       You can also add translate extension from

                      erase all  block erases  everything              the add extension button to translate text
                 drawn by the pen.                                     into many languages.

                      stamp  block creates a duplicate of the
                 current sprite. To see the image, click on the sprite and drag.

                      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 .

                      set pen color to    block sets the colour of the pen to a colour of your

                 choice from the drop-down menu.

                      Change pen color  by 10   block  changes  the  pen  colour,  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 colour,

                 saturation, brightness and transparency to the given
                 value.
              To view the line in full screen, click on Full Screen Control

              button        on the top right corner of the stage.





                                 What  if  you  could  use  Scratch  to  create a  sports  competition  game? What  sports
                                 would be included, and how would players train and compete to become champions?




              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.

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

                  Number of sides in the shape

                 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.






                        Premium Edition-IV
                 82
   79   80   81   82   83   84   85   86   87   88   89