Page 104 - 2502_Pakistan-kifayat_C-7
P. 104

#More on Scratch




              Chapter 8





              #Chapter Profile

                  Combining Programming Constructs                      Combining Event and Coordinates
                  Event                                                 Coordinates
                  Blocks Used for Moving Sprite                         Moving Sprite
                  Operators Block                                       Conditions Using Operators
                  Variable                                              Game: Catch the Apple Before Time Runs Out!



                             Take Off                                                       Century   #Technology Literacy
                                                                                               21 st
                                                                                              Skills
                    See the given code and draw the output.


























                   COMBINING PROGRAMMING CONSTRUCTS


              Combining programming constructs in Scratch involves using different blocks to create more complex
              programs. Scratch uses visual blocks that represent different programming concepts, and combining
              them can allow for more dynamic and interactive projects.

                   COMBINING EVENT AND COORDINATES


              Combining events and coordinates in Scratch allows you to create interactive projects where actions
              are triggered based on the position of a sprite or the mouse.

              In Scratch, events are typically triggered by actions like clicking the green flag, pressing a key, or receiving
              a message. Coordinates are used to determine where a sprite is on the stage (x, y coordinates).
   99   100   101   102   103   104   105   106   107   108   109