Page 69 - modular4.0
P. 69

Chapter Profile
                                                                                         Chapter Profile
                  8                                                                Block Shapes in Scratch

                                                                                        Sensing Blocks
                                                                                             Variables

                                                                                            Conditional Blocks


                                   Creating a                                                 Creating a Game
                          Game in Scratch














                 As you must have observed, the blocks in Scratch are in different shapes and colours. They
                 are used for various purpose like creating shapes and scenes. In this chapter, we will learn
                 about the various blocks to create a game.


                        BLOCK SHAPES IN SCRATCH


                 Block shapes can be divided into six types of shapes. They are: Hat, Stack, Boolean, Reporter,
                 C and Cap.


                 Hat Blocks

                 They are called hat blocks as they look like a hat. We wear a hat on
                 our head, so the hat always comes on the top. Similarly, hat blocks
                 always come at the top of a script as they start a script. This means
                 that you cannot place any blocks above them.


                 Stack Blocks
                 Stack blocks are the most used blocks in Scratch. They

                 perform the main commands. Stack blocks have a bowl
                 shape  cut  on  the  top  and  a bump  at the  bottom. This
                 makes it easier to stack other blocks above and below them.

                 Boolean Blocks


                 Boolean blocks are condition blocks which return the values “true” or
                 “false” or the number “0” or “1” depending on how they are used in
                 the script.








                                                                                           Creating a Game in Scratch  67
   64   65   66   67   68   69   70   71   72   73   74