Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 77 - 2616_V iCode_C-5
P. 77

    4  Now drag the ask block to the script area.

                                  5  Type your name. Click on the                    3  Add a new backdrop
                                 tick button or press the Enter key.                 to the stage, Arctic.

                     You can also place the answer block in the say block. It
                     will look something like this.

                     Snap this block to the ask block. Now click
                     and see what happens. Penguin speaks the
                     name for the given number of seconds.

                     You can change the question in the ask block
                     to any question of your choice. Click on the

                     text box and type the question.

                     Variables

                     A  program  is  a  group  of  commands  and
                     instructions that tell the computer to carry
                     out a task. In Scratch, a program is called a Script. A Script is made up of a number

                     of blocks. So, the blocks are the commands or instructions that we give to the Sprite
                     to perform a task.

                                                                               Advanced Blocks & Game Creation    75

| 72 73 74 75 76 77 78 79 80 81 82 |