Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 71 - 2616_V iCode_C-3
P. 71

    Creating a New Project

                                                                      1  Click on File tab.
                     To  start  working  in  Scratch,  we  first
                     need to create a new project. Follow
                                                                            2  Select New.
                     the given steps to create a new project:
                     Add the mouse Sprite from the Sprite
                     library. 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
                                                                                   when clicked block from the Events
                                                                                   category.  Then,  drag  say  for  2
                                                                                   seconds block to the coding area.

                                                                                   Type the message in the text box
                                                                                   of the block. Drag move block from
                                        Cat Sprite                                 the Motion category.

                     Step 2    Click on the Mouse Sprite. Drag the when clicked

                              block from the Events category. Then, drag
                              think for 1 seconds block to the coding area.
                              Type the message in the text box of the block.

                     Step 3     Click on Motion category and drag the move
                              block to the coding area. When you bring this
                                                                                               Mouse Sprite
                              block below the speech block, it will attach

                              itself. Change the number of steps to 20 in the text box of the block.
                     Step 4     Click on the Green flag and see your cat and mouse talk and move.

                                                                                               More on Scratch    69

| 66 67 68 69 70 71 72 73 74 75 76 |