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

The cool part of this attack is actually throwing the saber.
                       We’ll give it a second sprite, called Thrown Saber, just
                       like we added a second sprite (the Ring) for the saber spin
                       attack. The Thrown Saber sprite has four costumes: a
                       simple saber, followed by three explosion animations.




























                       We’ll add a program to use these
                       explosion costumes when we hit
                       the Dark Wizard.
































                                                140
                                         www.it-ebooks.info
   137   138   139   140   141   142   143   144   145   146   147