Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 85 - CodePilot V5.0 C1
P. 85

    MAKING YOUR CHARACTER MOVE

                     Characters  can be  moved  by  using  Motion Blocks. These blocks  tell your
                     character how to move on the screen.

                     To move your character to the right, follow the given steps:
        POP   PLAY RECORDED SOUND
                        1    Click on the MOTION                   2    Drag the MOVE RIGHT block from the
     CONTROL BLOCKS       BLOCKS category.                         blocks palette to the programming area.

     Control blocks are orange and are used to control the order and timing of
     your character's actions.

                                                                            4    Select the number
                                                                           of steps you want your
                                                                               character to move.

                                  3    Tap on the number.

     WAIT  STOP  SET SPEED  REPEAT

     END BLOCKS

     End blocks are red and show the end of a script.
                                                       5    Click on the block to
                                                       move the character.

        END   REPEAT FOREVER

                              By default, the Motion block category is selected in the Blocks Category.
     If your favourite toy could come alive in ScratchJr, how would you make
     it move around the screen?
                                   Character before move          Character after move

     RAPID RECALL  Tick ( ) if you know this.

     1.  Triggering blocks are used to run the script.

     2.  Motion blocks are used to move the character.

                                                                                       ScratchJr– My Coding Playground  83

| 80 81 82 83 84 85 86 87 88 89 90 |