Page 76 - 2606_PlugGPT_C4_Flipbook
P. 76

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                  play sound Meow      until done

                  various blocks in the Sound block category. Drag the                  move -30  steps
                  given blocks 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.










                   74   Premium Edition-IV
   71   72   73   74   75   76   77   78   79   80   81