Page 9 - Ones and Zeros 4 (Workbook)
P. 9

2  Working with Text  3            Programming Languages
 2
                    3








              Lesson 1


              Sprites and Backdrops


              You’re going to create a simple quiz based on dinosaur facts.
              1.  Run the Scratch app.

              2.  Select the sprite, ‘Dinosaur 2’.

              3.  Now, select a backdrop. Choose the backdrop called ‘Desert’.

              4.  Save the game as ‘Dino Quiz’ and exit.



              Lesson 2

              Scripts


              You are now going to add blocks and create a script.
              For this exercise, you will add an ‘event’ block to start the game and a ‘sensing’ block which
              will make the dinosaur ask you what your name is.

              1.  Run the Scratch app.
              2.  Open the game ‘Dino Quiz’.

              3.  Add an ‘event’ block to start the game when the dinosaur is clicked.

              4.  Now, add a ‘sensing’ block which makes the dinosaur ask for your name.

              5.  Save the game and exit.






                     NOTE
                     NOTE

                     Remember to always test
                     your game to see if your
                     script works properly!















                                                                                                                7
   4   5   6   7   8   9   10   11   12   13   14