Page 103 - Viva ICSE Computer Studies 5 : E-book
P. 103

4.  The Sprite bounces back and changes its direction on reaching the edge of the
                        Stage.






                                                                                         Step 1



                                                                                                                 Step 3
                          Step 4


                                                                                    Step 2














                    Adding Sound


                    With the help of Sound Block we can add sounds to Sprite.
                    Follow these steps to add sound.
                                                                                        Learn More
                      1.  Click on the  Sound Block  in the  ‘Blocks
                        Palette’.                                                  Using the above code, cat will move
                                                                                   50 steps with a turn of 15 degrees
                      2.  Drag a block to the ‘Script Area’. Double-               playing the sound ‘meow’.
                        click on the Sprite to play the sound.







                                                           Step 1


                                                                                                          Step 2





















                                                                                                                    91
   98   99   100   101   102   103   104   105   106   107   108