Page 42 - Code & Click - 5
P. 42

2.  Select the Paint        option.                                     3

                    The Paint Editor opens under the
                    Costumes tab.
                3.  Draw a sprite using  the tools  in
                    the Paint Editor.

                    The new  Sprite  appears on the
                    Stage, and its thumbnail is added
                    to the Sprite Info pane.

            Deleting a Sprite

            You can delete a sprite from your project when it is not required.
            To delete a sprite:
                1.  Click the thumbnail of the sprite you want to delete in the Sprites
                    Info pane.

                2.  Click the Delete         button on the thumbnail.

            Programming Two Sprites
            You can create a separate script for each sprite in a project. Each sprite executes its

            own script when you run the project.
                                                                                                 Experiential Learning
             Lab Activity 1
             Let us move two butterflies on the Stage.

                1.  Create a new project.
                2.  Delete the Cat sprite.

                3.  Add the Butterfly1 and Butterfly2 sprites from the
                    Animals category in the Sprites Library.

                4.  Position the sprites on the Stage as shown

                    in the image.
                5.  Select the Butterfly1 sprite in the Sprites list

                    and create the stack of blocks as shown in
                    the image.

                6.  Select the Butterfly2 sprite in the Sprites list
                    and create the stack of blocks as shown in the image.

               7.  Click the Go         button to execute the project.

                    The butterflies start moving around the Stage.
                    A sample image is given for your reference.

                8.  Click the Stop        button to stop the project.


            40
   37   38   39   40   41   42   43   44   45   46   47