Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 136 - 2615_KEC
P. 136

    6. Data: These blocks  handle lists  and collections  of
                         information. They allow you to store multiple values,
                         add or remove items  and access  specific  positions
                         within the list.

                        Common blocks include:
                           Create lists

                           Add/remove from list

                           Access list item
                           Insert at index

                                                        7. Canvas: These blocks let you draw shapes and graphics
                                                           in the app. You can create lines, circles, animations and
                                                           freehand illustrations using these tools.

                                                          Common blocks include:
                                                             Draw line, circle, rectangle

                                                             Set color
                                                             Clear canvas

                      8. Turtle: These blocks allow you to draw using a virtual
                         "turtle" that moves around the screen. You control its
                         movement and drawing path, often used for geometry
                         or creating patterns.

                        Common blocks include:

                           Move forward/backward
                           Turn
                           Pen up/down

                           Set color

                                USING IMAGE ELEMENTS AS SPRITES

                      Sprites (characters or objects) can be used for interactive elements in your app. Since
                      App Lab doesn’t have a built-in sprite system like Game Lab, you can customize sprites
                      using Image elements.

                      134   Premium Edition-V

| 131 132 133 134 135 136 137 138 139 140 141 |