Page 80 - 2403_Trackpad_V5.1_C6_Fb
P. 80

Direction                                                                  –15   0  15
                                                                                         –30               30
                  The words up and right are perfectly understood as                 –45                      45
                  directions  by human beings.  But  the Sprite  needs a          –60                             60
                  number to indicate the exact direction. The direction
                                                                                –75                                75
                  numbers are between −180 and 180 degrees.
                                                                                –90                                 90
                  Pointing at 0 degrees means facing up with respect to
                                                                                –105                               105
                  the Sprite. Pointing at 90 degrees is facing to the right
                  with respect to Sprite. Also, notice that −180 and 180         –120                            120
                  degrees point in the same direction: down.                        –135                       135
                                                                                        –150               150
                  LOOKS BLOCKS                                                              –165  ±180  165
                  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




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

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

                      think Hmm...  for 2  seconds  This block gives the sprite a thought bubble with the desired text
                                                    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 its
                       switch costume to  costume2
                                                    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