Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 96 - 2607_Trackpad_Pro_5.1_flipbook_C4
P. 96

    Tick ( ) if you know this.

                           ▶   Motion blocks are used to control the movement of a Sprite.

                           ▶   Looks blocks are used to change the sprite’s costume.

                                SOUND BLOCK

                      Sound blocks are in pink colour. They control sound functions. We can add music to our
                      Scratch project by using Sound blocks. You can even record your voice and save it.

                                    Blocks                                        Functions

                                                           This block plays a sound until the complete sound has
                        play sound  Meow  until done
                                                           been played.

                        start sound  Meow                  This block starts playing a sound.

                        stop all sounds                    This block stops all the sound.

                        clear sound effects                This block clears all the sound effects.

                      ADDING SOUND                                                              move  30  steps
                      You can make the sprite talk or play sound by using various                play sound  Meow  until done

                      blocks in the Sound block category. Drag the given blocks                 move –30  steps
                      to the code area and observe the change.
                                                                                                 play sound  Meow  until done

                                                                                                move  20  steps
                                CONTROL BLOCK

                      Control blocks have looping blocks which are used when the same blocks have to be
                      repeated a number of times. They are colour-coded amber.

                       94   Premium Edition-IV

| 91 92 93 94 95 96 97 98 99 100 101 |