Page 80 - ConceptGP_C3_Fb
P. 80

CREATING A SCRATCH PROJECT


                  As you know, a Sprite is controlled by a list of instructions known as code or script.

                  We create scratch programs by putting code blocks together. Let us create some
                  project  in Scratch. Programs are written in Scratch  to  move  sprites  in x and y
                  coordinates on the stage area.


                  PROJECT 1: MOVING A SPRITE

                  To move a sprite around the stage, we 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   Click on the Motion block.


                  Step  2   From the Events menu, drag a  when              clicked   block.
                  Step  3   Drag a  move        10  steps   block.

                  Step  4   Click on the number 10 and change it to  move                 50  steps   (The number
                            determines how far across the screen you want the sprite to move.)

                  Step  5   Drag  a     turn     15  degrees      block.  The sprite  will rotate  15 degrees

                            clockwise. (To change the angle of turn, change the number of degrees
                            and then click the block to make the sprite turn.)

                  Step  6   Now, click on move 10 steps and change it to  move                 50  steps
                  Step  7   Click the       to run your program.




                            when     clicked
                             move     50  steps
                             turn     15  degrees

                             move     50  steps










                                           Fill in the blanks.
                          uiz   Bee        1. ______ is the default Sprite in Scratch.


                                           2. ______ blocks are used to control the movement of a Sprite.







                   78   Premium Edition-III
   75   76   77   78   79   80   81   82   83   84   85