Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 75 - 2501_KVS_C-3
P. 75

    Aryan: This is all very interesting like moving, turning and dancing the sprites but could
                                      we also create any story in it by saying some dialogues or messages from Scratch?
                                      Gowri: Yes! From Scratch we could create stories as well on our own. For this a
                                      sprite can say messages and also can say thinking messages as well. There are 4
                                      options for this task, which are given below. Let’s learn them now.

                     7.4   DISPLAYING MESSAGES AND THINKING MESSAGES—
                            “LOOKS” BLOCK

                     These all are “stack” blocks.

                     7.4.1 “Say Hello! for 2 seconds...”

                     It is used to display a speech bubble for the selected sprite with the specified text
                     for specified number of sceonds.

                     7.4.2 “Say Hello!”
                     It is used to display a speech bubble for the selected sprite  with the specified text,

                     but the message will overlap with the next step or message and so, we can not see
                     the message. So, we have to use the “wait for 1 seconds” block from the “Control”
                     block after that, we can also change number 1 to any other number for waiting for
                     that much seconds.

                     7.4.3 “Thinking hmm… for 2 seconds...”

                     It is used to display a thinking message by a sprite for some seconds, which you want.

                     7.4.4 “Think Hmm...”

                     It is used to print a thinking message by a sprite, but the message will overlap with
                     the next step or message and so, we could not see the message. So, same as above
                     we have to use the “wait for 1 seconds” block from the control block after that.

                          Aryan:  Oh!! So many options. Ok, could you please explain these options with the help of
                          creating any story or activity?

                         Gowri: Yes, surely, Next activity will show you the use of these options.

                                 Activity 7.3

                       Add a sprite and it will display message “Hello!” when we will click on a flag.

                       Ans:

                       Step 1:  Open Scratch, “Cat” sprite is already added in it.
                       Step 2:   Click on “Events” block, it shows different blocks in the Blocks Palette.
                                   Drag the block “when flag clicked” in the script area.

                       Step 3:  Click  on  Looks Button,  Drag                          block in the  script area.

                                                                                        Scratch-2                       73

| 70 71 72 73 74 75 76 77 78 79 80 |