Page 126 - Super Scratch Programming Adventure -1st Edition
P. 126

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 importing a blank project
                       called FinalFight. This project has all
                       the sprites we’ll need, even the Stage.
                       Now let’s move on to the exciting stuff—
                       programming!





                                                125
   121   122   123   124   125   126   127   128   129   130   131