When complete: The dog moves up and down and a wave of bells moves left across the screen. To prevent the bells from reaching the edge of the screen, the player may press the space bar to have the dog throw a ball. Bells disappear and award points when struck by a ball. However, each bell that reaches the left edge of the screen will remove a player life. If all lives are lost the game ends, but if lives are remaining after the entire wave of bells has passed, the player will move to the next level. To complete this project, students must: 1. Add code to the Dog 1 sprite to throw a ball sprite when the space bar is pressed. a. Add a “create clone of Ball” block b. Add an “Animate Dog” block 2. Add code to the Ball sprite to move it when thrown (needs to support multiple balls): a. Put the designated block of code under a “when I start as a clone” block 3. Add code to the level manager sprite in order to perform all actions necessary to move to the next level a. All code added under the “define Advance Level” block b. Add “switch backdrop to next backdrop” block c. Add “broadcast level changed and wait block” 4. BONUS ACTIVITY: Modify the code under “define Move Dog” in the Dog 1 sprite to allow the player to control the dog’s movement
Some code is missing. Fix it.