Page 97 - PlugGPT_V2.0_C5_Flipbook
P. 97

8                      Programming in Scratch


















                                        Your Aim

                                        to learn about:

                                                 Sprite’s Direction          Drawing a Square
                                                   Drawing a Polygon          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



                               11  12  1                   12
                            10           2              11      1
                                                     10           2
                            9             3
                                                     9             3
                             8           4
                               7   6  5               8  7  6   5  4



                              Clockwise              Anti-Clockwise



                                                                                       Programming in Scratch        95
   92   93   94   95   96   97   98   99   100   101   102