Page 64 - TechPluse_C4_Flipbook
P. 64

6                             More on Scratch


















                                Your Aim

                                to learn about:

                                          Blocks                               Creating a Script





                  A computer cannot understand our language. To make a computer work, it needs
                  commands or instructions in the language it understands. Computer programming
                  language allows us to give instructions to the computer in a language it understands.

                  Scratch is an easy programming language that is used to create games, animated
                  stories and interactive art and share creations with one another over the Internet.
                  Scratch has blocks that are dragged to combine and create a project. Cat is the
                  default Sprite of Scratch.


                      BLOCKS

                  Blocks are puzzle-piece shapes used to give instructions to the computer. They
                  connect vertically like a jigsaw puzzle, and can be dragged into the scripts area to
                  create a sequence of instructions. Script is a collection of inter-locked blocks. Blocks

                  are  organised into  categories  under  the  Scripts tab,  and  you  can  add  multiple
                  blocks by placing them above or below existing ones. When a script is double-
                  clicked, Scratch runs the blocks from top to bottom. To remove a block, simply
                  drag it away from the scripts pane.

                  Some of the  common categories  of blocks are:  Motion,  Looks,  Sound, Pen,
                  Variables, Events, Control, Sensing, and Operators.


                    Block category                                           Use



                                          These blocks are used to place your sprites on the stage or
                           Motion         move them.



               62       Premium Edition-IV
   59   60   61   62   63   64   65   66   67   68   69