Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 127 - logicode 2609 C6
P. 127

    CREATING A CONVERSATION BETWEEN TWO SPRITES

                     To create a simple interaction between two sprites in MakeCode Arcade, Follow the given steps:

                               1   Click on the Sprites
                              blocks category.

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

                                                                     3   Click on the image icon and select the
                                                                    sprite you want  to add  from  Gallery.

                                                               5   Change the position of mySprite x axis
                                                              from 0 to 43 and y axis from 0 to 48.

                                          4   Drag the set position block from Sprites block category
                                         and drop it below the set to sprite of kind block.

                                                                                               Using MakeCode Arcade  125

| 122 123 124 125 126 127 128 129 130 131 132 |