Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 120 - KEC_2615
P. 120

    USING MULTIPLE COSTUMES FOR SPRITE ANIMATION

                      A costume is another picture of the same sprite that is slightly different. Scratch allows
                      you to animate a sprite by switching between multiple costumes to create a smooth
                      movement effect in a project. To use multiple costumes, follow the given steps:

                      Step  1     Add  a  new sprite  from the  sprite  library and  a  backdrop  from the
                                  backdrop library.

                      Step  2     Select the sprite and click on the Costumes tab to open Paint Editor.

                                  Here you can see that your sprite has built-in costumes from a-h.

                      Step  3     Click on the Code tab to code your sprite.

                      Step  4     Now, create the following script for your sprite.

                       118  Premium Edition-III

| 115 116 117 118 119 120 121 122 123 124 125 |