Page 135 - Super Scratch Programming Adventure -2nd Edition
P. 135

The Final Fight




               Chapter Focus                     The Game

          Learn how to design a fighting game.   Take control of Scratchy
          We’ll create two characters with   for the final fight with
          unique fight moves, custom health   the Dark Wizard. Use
          counters, and more. To make custom   his saber spin, saber
          animations for Scratchy’s three fight   throw, and force attack
          moves, we’ll use a special trick to   to defeat the Dark
          swap between four different sprites.  Wizard.



          Here’s a look at the final game we’ll create. You’ll
          need to jump over the Dark Wizard’s dangerous     This sprite represents the
          fireballs and launch a counterattack!             Dark Wizard’s health.



          This sprite represents
          Scratchy’s health.





          The computer controls
          the Dark Wizard.



          The player controls
          Scratchy.










                          Let’s start by uploading a blank
                          project called 09 - Final Fight.sb2
                          (File4Upload from your computer).
                          This project has all the sprites we’ll
                          need, even the Stage. Now let’s
                          move on to the exciting stuff—
                          programming!



                                                133
                                         www.it-ebooks.info
   130   131   132   133   134   135   136   137   138   139   140