Page 87 - TechPluse_C4_Flipbook
P. 87

8                      Programming in Scratch


















                              Your Aim

                              to learn about:

                                       Sprite’s Direction                       Pen Block
                                         Drawing Polygons                        Drawing a Square
                                           Drawing Circle                           Drawing Patterns



                 Scratch is a programming language designed for small children. It is easy to make
                 games, animations, stories, etc. in Scratch. It is also free to download from the
                 Internet. You have learned interesting things about Scratch. Let us now learn to

                 draw  shapes using Scratch  blocks by moving the Sprite around  on the screen.
                 Before we actually draw shapes, let us understand the screen of the Scratch.

                     SPRITE’S DIRECTION

                 You can change the direction of the Sprite by using the Turn block under the

                 Motions block menu. The  turn            15 degrees  block will turn the Sprite in clockwise
                 direction by the specified number of degrees. The  turn               15 degrees   block will turn

                 the Sprite in anti-clockwise direction by the specified number of degrees.

                 The value of the degree specified in the Turn block can be changed according to
                 our requirement.

                 turn    15 degrees        turn    15 degrees
                                                                                                 0
                                                                                         -45
                                                                                                         45
                       11  12  1                   12
                    10           2              11     1
                                             10           2                         -90                     90
                   9              3
                                             9             3
                    8            4
                       7  6   5               8  7     5  4                         -135                 135
                                                    6
                                                                                               180
                     Clockwise               Anti-Clockwise

                                                                                       Programming in Scratch        85
   82   83   84   85   86   87   88   89   90   91   92