Page 67 - Touchcode_C3_Flipbook
P. 67

Here we have added a farm backdrop. Notice that the thumbnail of the backdrop
                 appears in the Sprites Info Pane.


                 CREATING A NEW PROJECT
                 Follow the given steps to create a new project:                      1

                 Step 1:     Click on File tab. A drop-down menu appears.                                          2
                 Step 2:     Select New. A new project will open.



                 CHANGING APPEARANCE OF THE SPRITE
                 You can also change the appearance of the sprites. To do so, follow the given steps:

                 Step 1:     Click on the Costumes tab. An image of the selected sprite appears in the
                             tab. Here the selected sprite is cat.



                                        3



                  1








                  2






                 Step 2:     Click on the image of the sprite. Drag the selection blue border to select
                             the cat. A border appears around it.

                 Step 3:     Click on Fill and Outline options to change the colors of the cat and the
                             outline.


                 Creating A Scratch Project
                 Let us now create a script to make the two sprites move and talk to each other.

                 Step 1:     Click on the Cat sprite. Drag the Looks speech bubble block to the coding
                             area. Type the message in the text box of the block.

                 Step 2:     Click on the Mouse sprite. Drag the Looks speech bubble block to the
                             coding area. Type the message in the text box of the block.

                 Step 3:     Click on Motion block and drag the 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.
                                                                                            Coding Corner        65
   62   63   64   65   66   67   68   69   70   71   72