Page 102 - Viva ICSE Computer Studies 5 : E-book
P. 102

2.  You can change the number of steps and the degree. To run the Sprite, double-click
                        to carry out the instructions step-by-step.











                                                                                                           Step 2






















                             Do and Learn



                      Draw a colourful circle.
                      Steps to be Followed
                      •  Click on the Pen block menu. Select the Pen down block from the Pen Block Palette.
                      •  Drag the block and place it below the Turn 15 degrees block.
                      •  Click and pull the Set pen size to 1 block on the Script Area. Place it below the Pen down block.
                      •  Change the value from 1 to 10.
                      •  Drag the Change pen color by 10 block from the Pen Block Palette and drop it at the end.

                      •  Change the value from 10 to 20.
                      •  Keep clicking on any of the blocks in the Script Area till the Sprite completes the colourful circle.




                    Creating a Duplicate Copy of Sprite

                    Follow these steps to create a duplicate copy of the Sprite using the Stamp block.

                      1.  Drag the blocks from the ‘Motion’ and ‘Pen’ blocks.

                      2.  Snap the blocks together on the ‘Script Area’.
                      3.  Change the values of the blocks as desired. Click on any of the blocks to create a

                        duplicate copy of Sprite.





                     90
   97   98   99   100   101   102   103   104   105   106   107