Page 112 - TGPT_V5.0_C3_Flipbook
P. 112

Sounds Tab: In this tab, you can add and make changes in the sounds of the sprite and
                   backdrop.


                   BLOCKS


              Blocks are the codes or commands used to create a program in Scratch. It looks like a puzzle
              piece and each block connects with the other block to perform a task.

              Motion Block


              The blocks that are used to control the movement of a sprite are known as Motion blocks.
              They are blue in colour. For example, the motion block is used to move a sprite.

              Here, 10 is the number of steps that the sprite will move forward. You can change the number
              of steps            . To make the sprite move backward, give a minus (–) sign before the number

              as shown below               . This will move the sprite 30 steps back on the stage.

              The                block allows you to rotate the sprite clockwise by a specified number of degrees.

              Alternatively,  you  can  use  the                block  to  rotate  the  sprite  anticlockwise,  depending

              on your needs. The number of degrees specified in the Turn block can be customised to fit the
              requirements of your project. For example, if you set the block to turn by 15 degrees, the sprite will

              rotate 15 degrees in the chosen direction.
              Looks Block

              The blocks that are used to add speech and thought bubbles to the sprite are called Looks

              Block. They are purple in colour.

              For example, you want to add a speech bubble to the sprite for 2 seconds with a message
              ‘Hello!’ as shown                      .

              You can change the message by clicking on the message text box and typing your own message.
              You can also change the time by clicking on the time text box.

              Events Block


              This is the topmost block. It helps run the script on the stage as it controls the
              starting of scripts. It gives you the control of all the blocks as without an event
              block no program will run.

              To run the script, you have to click on the Go button before the other blocks.


                   ADDING A SPRITE


              When you open Scratch, the default sprite1 is the cat. The location of the sprite cat is at the
              centre of the stage. Let us add another sprite to the stage.



                  110  Premium Edition-III
   107   108   109   110   111   112   113   114   115   116   117