Page 67 - TechPluse_C4_Flipbook
P. 67
Sound Blocks
They are colour-coded dark pink and are used to control
sound. These blocks control the playback and volume of the
sound files selected by you. You can also record your own
voice or download sounds from your computer.
Looks Blocks
They are colour-coded purple, and are
used to control what
your sprites and backdrop look like. These blocks include
blocks for displaying text, showing or
hiding sprites, switching
costumes (sprites) or backdrops (stage),
etc.
CREATING A SCRIPT
A script is another name for a program. Let’s create some scripts.
Example 1: Talking and jumping Sprite
Step 1 Drag the block from Events blocks menu. This block will activate
once the Green flag is clicked.
Step 2 Drag the block from Control blocks menu. All blocks inside
the forever block run until the Stop button is clicked.
Step 3 Now, drag and place the blocks inside the forever block as shown. Change
the values respectively.
• will change the Sprite’s costume to the next.
• and will change the position of Sprite.
• will pause the script for the specified time before moving
to the next block.
• will display the message for the specified time.
More on Scratch 65

