Page 119 - Scratch Programming Playground
P. 119

Scratch
                             Scratch
               Programming
               Programming
                   Playground
                   Playground
             Learn to program by making cool games
                                          Al Sweigart
















                                                 5






                         A Polished Brick

                              BreAker GAme









                             ave you ever seen a brick breaker game?

                             The player controls a paddle at the

                            bottom of the screen to bounce a ball

          that breaks blocks at the top of the screen. The

          player loses when the ball gets past the paddle.

          This game is simple enough to program, but it

          can look a bit boring. In this chapter, you’ll learn

          a few tricks to make the game more colorful and

          interesting by adding animations and effects.
   114   115   116   117   118   119   120   121   122   123   124