Page 105 - KEC Khaitan C3 Flipbook
P. 105

ACTIVITY 1: MOVING A SPRITE

                 To move a sprite around the stage, you need to learn how to work with Motion
                 blocks. A sprite can be moved a few steps ahead or turned by different angles. Let

                 us now create a project that instructs a sprite to move.


                 Step  1     From the Events block, drag a                        block.


                 Step  2       From the Motion block drag a                         block.


                 Step  3     Click  on  the  number  box  and  change  it  to                         (The number

                             determines how far across the screen you want the sprite to move.)

                 Step  4     Drag a                       block. The sprite will rotate 15 degrees clockwise.
                             (To change the angle of turn, change the number of degrees and then

                             click on the block to make the sprite turn.)

                 Step  5     Now, click on move box steps and change it to                            .

                 Step  6     Click the      to run your program.





















                 ACTIVITY 2: CREATING A SCENE

                 Create the given script and run it by clicking on the Green flag button.






















                                                                                 Introduction to Scratch Programming  103
   100   101   102   103   104   105   106   107   108   109   110