Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 88 - 2505_CoreGPT(Podar)_Flipbook_C3
P. 88

    5

                                                                      6

                      Step 7  Drag the                 ,                         say block to the script area. Type

                                the message in the text box.

                      Step 8  Drag the                       block from  Motion block category  below the

                                                         block.

                      Step 9  Change the number of steps to 30 in the text box.

                                                                  8

                                                                           9       7

                      Step 10 Click the Go button to see your Cat and Dog talk and watch the Dog move.

                            REPEATING ACTIONS OF A SPRITE

                      All the programs or projects developed till now run only once. If you want to run
                      a set of statements more than once, you will either run the code again or write

                      the script again. In Scratch, we can save our time and effort by repeating the code

                      without  writing  the  program  again  or  writing  the  script again.  The  automatic
                      running of a set of instructions more than once is called looping. The blocks for
                      looping are given in the Control category.

                     86     Premium Edition-III

| 83 84 85 86 87 88 89 90 91 92 93 |