Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 121 - logicode 2609 C6
P. 121

    ADDING A SPRITE

                     When you open MakeCode Arcade, there is no default sprite present. So, firstly, we need to add
                     a sprite by choosing from two options, i.e., creating a new sprite using the image editor or using a
                     built-in sprite from Gallery. Let us learn about both options.

                     CREATING A SPRITE USING THE IMAGE EDITOR
                     To create a sprite using the image editor, follow the given steps:

                                  1   Click on the Sprites blocks category.

                                                                     2   Drag the set to sprite of kind block
                                                                    and drop it inside the on start block.

                                                                                               3   Click on the image icon.

                                                                                                          PURE
                           Clicking on image icon allow you to draw an image for your own sprite in image
                           editor.                                                                         FACT

                     The image editor window will open. Let us understand some basic components of image editor

                     window.

                                                                                               Using MakeCode Arcade  119

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