Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 105 - 2609_Logiccode
P. 105

    3  Type the name of
                               your project.

                                                                                                   4  Click on the
                                                                                                  Create button.

                          6  Click on the Make a
                          Variable button.

                        5  Click on the Variables
                       blocks category.

                                                             7  Type a name for the variable.   8  Click on the Ok button.

                     The variable is created with the specified name (in our case it is a) and two new blocks:

                                Block                           Name                            Description

                                                      set to                         Assign a value to a variable.

                                                                                     Increase or decrease the value of
                                                      change by
                                                                                     a variable by a specified amount.

                                                                 9  Drag the set to block and drop
                                                                it inside the on start block.

                                                                                               10 Change the value from
                                                                                               0 to 10. The variable a is
                                                                                               initialised.

                                                                                             More on MakeCode Arcade  103

| 100 101 102 103 104 105 106 107 108 109 110 |