Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

3. Making the Parrot Rise and Fall
  • 1. Side Scrolling Games and If-Else Statements
  • 2. Create a Scrolling Backdrop
  • 3. Making the Parrot Rise and Fall
  • 4. Winning and Losing at Cave Surfing
  • 5. Add-Ons
  • 6. Reflection
  • 7. Wrap-up: Cave Surfing Game
  • 8. Wrap-up: Share Your Project
  • 9. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Instructions
  1. Add an if-else statement and a "space key pressed?" block to your program that makes the sprite move up and down when the user presses and releases the spacebar.
  2. Program the if condition to move y by 5, and the else condition to move y by -5.
  3. Add costume changes to make the sprite look more realistic as it flies up and down.