Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 80 - 2607_Trackpad_Pro_5.1_flipbook_C6
P. 80

    Direction                                                                        –15  0  15
                                                                                                    –30           30
                      The words up and right are perfectly understood as directions by           –45                 45
                                                                                               –60                     60
                      human beings. But the Sprite needs a number to indicate the exact
                                                                                              –75                       75
                      direction. The direction numbers are between −180 and 180 degrees.
                                                                                             –90                         90
                      Pointing at 0 degrees means facing up with respect to the Sprite.      –105                       105

                      Pointing at 90 degrees is facing to the right with respect to Sprite.   –120                     120
                      Also, notice that −180 and 180 degrees point in the same direction:       –135                 135
                                                                                                    –150          150
                      down.                                                                           –165  ±180  165

                      LOOKS BLOCKS
                      Looks blocks are purple in colour and let you modify the sprite’s costumes and colours. The Looks
                      blocks display text within pop-up bubbles.

                                  Blocks                                           Functions

                                                        This block displays a speech bubble of the sprite for a specified
                          say  Hello!  for  2  seconds
                                                        amount of time.

                                  say  Hello!           This block displays a speech bubble of the sprite.

                                                        This block gives the sprite a thought bubble with the desired text
                         think  Hmm...  for  2  seconds
                                                        which stays for a specified number of seconds.

                                 think Hmm...           This block gives the sprite a thought bubble with the desired text.

                                                        This block changes the appearance of the sprite by switching
                          switch costume to  costume2
                                                        its costume.

                                                        This block changes the costume of the sprite to the next costume
                                  next costume
                                                        in the costume list.

                               change size by  10       This block changes the size of the sprite by the desired proportion.

                                                        This block sets the size of the sprite to a specified percentage of
                               set size by 100  %
                                                        the original size.

                                                        This block changes the visual effect applied to the sprite by the
                          change  color  effect by  25
                                                        specified amount.

                           set  color  effect to  0     This block sets the visual effect to a specified number.

                                                        If the block’s sprite is hidden, it will show the sprite. If the sprite
                                    show
                                                        is already visible, nothing will change.
                                                        If the block’s sprite is visible, it will hide the sprite. If the sprite is
                                    hide
                                                        already hidden, nothing will change.

                       78   Premium Edition-VI

| 75 76 77 78 79 80 81 82 83 84 85 |