Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 95 - 2632_CodeMind
P. 95

    Commonly used Blocks in MakeCode Arcade

                                      Block                     Block Name                     Description

                                                             splash             The  splash  block  in  MakeCode  displays
                                                                                a message on the screen for a specified
                                                                                duration

                                                             pause              The pause block in MakeCode temporarily
                                                                                stops program execution for a specified
                                                                                duration  in  milliseconds, allowing  for
                                                                                timed delays between actions.

                                                             say                The  say  block  in  MakeCode  shows  a
                                                                                message on the screen for a brief moment,
                                                                                typically used for quick text displays.

                                                             set position       The  set position  block  in  MakeCode
                                                                                places a sprite or element at specific X
                                                                                and Y coordinates on the screen.

                      Getting started with Block Coding

                      Block-based coding uses drag and drop approach. It’s a programming activity to develop computational
                      thinking. You can use coding instruction ‘blocks’ to perform a variety of tasks.

                      To display a message 'Hello World', create a New project in MakeCode Arcade and follow the given
                      steps:

                           94    Premium Edition-VI

| 90 91 92 93 94 95 96 97 98 99 100 |