Page 91 - Viva ICSE Computer Studies 6 : E-book
P. 91
2. Snap the blocks together on the ‘Script Area’.
3. Change the values of the blocks as desired.
4. Click on any of the blocks to create a duplicate copy of Sprite. The Sprite bounces back
and changes its direction on reaching the edge of the Stage.
Step 1
Step 2
Step 3
Step 4
Sound Blocks
Sound blocks are pink/magenta colour coded blocks.
A sound is an item that can be heard and played in a Scratch project. Let’s understand the
functioning of some blocks.
Block Function
This block plays the selected sound without pausing the script.
This block plays the selected sound pausing the Script until the sound
has fi nished playing.
This block stops all sounds currently being played on all Sprites.
This block plays the drum sound according to the specifi ed number of
beats.
This block pauses the Script as per the specifi ed number of beats.
This block plays a note from the instrument for the specifi ed number of
beats.
This block sets the instrument to the one selected from the list.
This block changes the volume of the Sprite by the mentioned amount.
This block sets the Sprites volume to the mentioned amount.
79