Page 50 - TP_Modular_V2.1_Class5
P. 50

Step 5   Click on Looks category and drag the first block, that is speech bubble

                           block and attach it below the 'When clicked' event block. Type the message
                           'Hey Mouse ! Where are you going?' in the text box of the block.
                  Step 6   Click on Motion block category and drag the first block to the coding

                           area. When you bring this block below the speech block, it will attach itself.
                           Change the number of steps to 20 in the text box of the block.

                  Step 7   Click on the mouse sprite. Click on the Events block and drag the first
                           block to coding area.

                  Step 8   Drag the Looks speech bubble block to the coding area. Attach it below
                           the event block dragged in the previous step. Type the message 'Oh no !
                           She will eat me.' in the text box of the block.

                  Step 9   Click on the Green flag and see your cat and mouse talk and move.


                      SAVING A PROJECT

                  You can save a project at any time, even while working. To save a project, follow
                  the given steps:

                  Step 1  Click on File tab.

                  Step 2  Select Save to your computer option. The Save as dialog box appears.

                  Step 3   Select the location where you want to save the project. Type the name in
                           the File name box.

                  Step 4  Click on the Save button.







                           1
                                                                            3

                                                                                                  4


                                                           2






                                    Suppose, you  have  to code  an  environmental conservation  game in
                                    Scratch where players work to protect endangered species and preserve
                                    ecosystems. What environmental challenges they tackle, and how they
                                    make a positive impact?





                   48       Modular (Ver. 2.1)-V
   45   46   47   48   49   50   51   52   53   54   55