Page 86 - TP_iPlus_V2.1_Class5
P. 86

Click on the block in the Script area  to see your  sprite,  move 50 pixels to the right

                  (towards the face of the sprite).

                  More Motion

                  You  can  add  even  more  Motion  blocks to  your  script  by
                  following these steps:






                                                         1  Drag and drop the turn 15 degrees block
                                                         to the previous block of code when you see a
                                                         grey bar between the 2 blocks of code.


































                                           2  Click on your script on the script
                                           area and see your sprite move.



                  Events Blocks
                  They are colour-coded yellow and are used to sense events,

                  which run the scripts. The first block present in control is the
                  “when flag clicked” block.

                  Drag the “when flag clicked” block out and snap it on top

                  of the blocks you already have in your script. Now, instead of
                  having to double click on your block of code, you can just click
                  on the flag icon to play your animation.





                    84
                         iPlus (Ver. 2.1)-V
   81   82   83   84   85   86   87   88   89   90   91