Page 93 - 2501_KVS_C-3
P. 93

So, when we click on the flag
                 now, both fishes float in water
                 continuously  or  forever.  (see
                 script  in Fig.  9.2 will  be  the

                 same  on  both  fishes).  Stage
                 will look like after duplicating
                 in Fig. 9.3a.                                               Fig. 9.3 b


                                   Aryan: Oh, Wow so interesting, without any coding, we can have so many fishes
                                    floating in water continuously. Could it be possible to have the sprite in the stage
                                    drawn by me, if I don’t want to add a sprite already present. As I want to draw
                                    the fish of my own.

                      Gowri: Yes dear, sure! As in Tux-paint you have done drawings, you can also
                      draw the sprite here of your own choice.

                      Aryan: OK! Can you teach me the steps to draw a sprite?

                      Gowri: Yes sure! By doing the following activity we can learn how to draw a
                      sprite?


                 9.3 DRAW A SPRITE OF YOUR OWN CHOICE
                 Let’s learn it with an activity.





                              Activity 9.3


                   Change the background of the stage to the ocean. Then, write the script to

                   make the fish float while changing its colour effect by 30 continuously.
                   Ans:

                   Step 1:  Hover  pointer  (means  take  mouse  pointer  over  it
                              rather than clicking on it) on “Choose sprite” icon and
                              then a list of icons appears (shown in Fig. 9.4).

                   Step 2:  Then choose the paint option from the list of icons.
                              The sprite window appears as shown in Fig. 9.5.




                                                                                                         Fig. 9.4










                                                                                    Scratch-4                       91
   88   89   90   91   92   93   94   95   96   97   98