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

For the Dark Wizard’s
                        HP meter, we’ll use
                        a costume-switching             1
                        program. The Dark
                        HP sprite has seven
                        costumes.

                        2               3               4






                        5               6               7






































                                                     After taking a look at the Dark HP costumes,
                                                     add this program. It sets the size, position, and
                                                     conditions of the Dark HP variable when the
                                                     sprite changes costumes.







                                                140
   136   137   138   139   140   141   142   143   144   145   146