![]() We need the bowls to appear randomly at different times and places. In order to win the game, Toby must collect 5 cheese-puffs bowls. ![]() Now that Toby can move, let’s give him something to do. Does Toby move left ? Now try the right arrow key! Save your project Step 2: Keeping Toby busy! Add this to your script:Ĭlick the green flag, press the left arrow key. Now we need to add more code to allow Toby to move left as well. ![]() Click on the scripts tab, and add this script:Ĭlick on the Green Flag, and check that Toby can move right when you press the right arrow key. ![]() We want Toby to move right when we press the right arrow key. Select the left-right rotation style as shown on the picture below: Delete the third costume dog2-c as we only want the first two.Ĭlick on the blue i button to the top left of the sprite picture. select the Dog2 sprite from the Animals section.ĭog2 comes with three costumes. Delete the original blank backdrop.Īdd a new sprite. Choose a backdrop from the Scratch library: the night city with street backdrop is a good choice for this project. Delete the cat by right-clicking it and selecting Delete.Ĭlick on the stage. Step 1: Controlling Toby Activity Checklist
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |