Page 138 - ScienceStd4
P. 138

5.  Click on the ‘Sounds’ menu.

               6.  Insert the ‘play sound () until done’ block inside the ‘repeat’

                    block as shown in Figure 34.
          FOR ONLINE READING ONLY




















                     Figure 34: Inserting the sound block inside the repeat block

               7.  You will get a script as shown in Figure 35.

























                            Figure 35: Blocks for playing sound repeatedly

               8.  Play the game and count how many times the sound

                    plays.

               9.  Change the number from 10 to 15. Play the game again
                    and count how many times the Sprite is heard.




                                                   131




                                                                                            14/01/2025   18:38
     SCIENCE AND TECHNOLOGY STD 4.indd   131
     SCIENCE AND TECHNOLOGY STD 4.indd   131                                                14/01/2025   18:38
   133   134   135   136   137   138   139   140   141   142   143