Page 120 - CodePilot V5.0 C5
P. 120

when    clicked


                                   set voice to  tenor                  when    clicked

                                   speak  Hello there! Are you a robot?        set voice to  giant


                            wait  1  seconds                            wait  5  seconds

                                   speak  Can you talk?                        speak  Yes, I can! I'm a friendly robot.

                            wait  7  seconds                            wait  1  seconds

                                   speak  Of course! Let's play together.      speak  Do you want to be friends?


                  Click the Green Flag and hear Andie and Retro Robot chat using cool computer
                  voices.


                  TRANSLATE


                  The Translate extension lets users change the words
                  they  type  into  different languages.  This is possible
                  through a collaboration between Scratch and Google.

                  It internally uses  Google Translate to  perform the
                  translations.

                  The Translate extension includes the following blocks:


                                                            This block  translates  the  text  to  the  selected

                                                            language.
                           A  translate  hello  to  Galician




                                             A  language    This block sets the language for translating text.



                    Project 3    Translating Text


                  Create a project using the Translate Extension, where

                  the sprite will change the text you type into the language
                  you choose.
                                                                                        The Translate  blocks  can
                  Now, add a sprite and backdrop for the project.                       translate text into over 100
                                                                                        different languages.






                  118     CodePilot (V5.0)-V
   115   116   117   118   119   120   121   122   123   124   125