Page 79 - CloudGPT_C6_Flipbook
P. 79

Practical Assessment







                   MakeCode Arcade                                                         Information Literacy
                                                                                           Critical Thinking
                 A.  Project: Simple Conversation Between Two Sprites

                     Objective:
                       Create a scene with two sprites that have a conversation. One sprite will say something,
                     then pause and wait for a short moment, after which the other sprite will respond.

                     Steps to Create the Project:
                      Step 1   Create a New Project:

                          Open MakeCode Arcade and start a new project.
                      Step 2   Set Background Image:
                          From the Scene category, drag the set background image to block into the on start block.

                           Click on the image to choose or draw a background. For simplicity, you can use a solid
                           color or a simple pattern.

                      Step 3   Add Two Sprites:
                          From the Sprites category, drag out two set mySprite to sprite of kind Player blocks.
                          Set the first sprite’s image and position (e.g., x = 10, y = 30).

                          Set the second sprite’s image and position (e.g., x = 100, y = 30).
                      Step 4   Create Conversation for the First Sprite:
                           From the Sprites category, drag out a say mySprite "Hello!" for 2 seconds block and place
                           it below the setup for the first sprite.
                          Change "Hello!" to your desired message (e.g., "Hi there! How are you?").

                      Step 5   Pause to Wait:
                          Drag the pause block from the Game category and place it below the say block.

                          Set the duration of the pause (e.g., 1000 milliseconds for 1 second).
                      Step 6   Create Conversation for the Second Sprite:
                          Drag out a say mySprite "I'm good, thanks!" for 2 seconds block from the Sprites category.
                          Change "I'm good, thanks!" to the second sprite's response.

                          Make sure this block is placed below the pause block.
                      Step 7   Arrange the Blocks:

                           Ensure that the first sprite says its message, then pauses, and finally, the second sprite
                           says its message.








 PB  Premium Edition-VI                                                                Practical Assessment    77
   74   75   76   77   78   79   80   81   82   83   84