Page 129 - Scratch Programming Playground
P. 129

This code will create clones of the Brick sprite for all the
            bricks in the game, as shown here:

                        1                     2
                           The original sprite    The sprite creates
                           starts in the corner.  a clone and moves
                                                    to the right.






                        sprite                  sprite




                       3                      4
                           The sprite creates     The sprite creates
                           a row of clones and   four rows of clones.
                         then moves down to the
                               next row.






                        sprite

                                              sprite



                                                             a poLIShed BrICk Breaker Game   103
   124   125   126   127   128   129   130   131   132   133   134