Page 90 - CG_v2.1_flipBooks_class_6
P. 90

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.













                                                                 Notes

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









                       88    Computer Genius (V2.1)-VI
   85   86   87   88   89   90   91   92   93   94   95