Page 80 - Computer Genius Class 04
P. 80

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

                     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.

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

                           next costume         This block changes the costume of the sprite to the next costume
                                                in the costume list.
                                                This  block changes  the  size  of the  sprite  by  the  desired
                         change size by  10
                                                proportion.


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

                     change color  effect by 25  This block changes the visual effect applied to the sprite by the
                                                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
                          show  /  hide         block’s sprite is visible, it will hide the sprite. If the sprite is

                                                already visible/hidden, nothing will change.


                  Sound Blocks

                  Sound blocks are in pink colour. They control sound functions. We can add music to our
                  Scratch project by using Sound blocks. You can even record your voice and save it.

                            Blocks                                           Functions

                    play sound Meow  until done  This block plays a sound until the complete sound has been played.

                        start sound Meow       This block starts playing a sound.


                          stop all sounds      This block stops all the sound.

                         clear sound effects   This block clears all the sound effects.



                       78    Computer Genius-IV
   75   76   77   78   79   80   81   82   83   84   85