Skip to content

Please update your browser

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

4. Hop, Skip, and a Jump
  • 1. Side Scroller Introduction
  • 2. Walk the Walk
  • 3. Forward Motion
  • 4. Hop, Skip, and a Jump
  • 5. Keep Moving
  • 6. Realistic Jump
  • 7. Add-Ons
  • 8. Reflection
  • 9. Wrap-up: Side Scroller
  • 10. Wrap-up: Share Your Project
  • 11. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Instructions
  1. Start the hero in the right place.
  2. Move the ground below and make it stay.
  3. Create a variable.
  4. Place this variable in a "change y" block at the bottom of the motion loop.
  5. Make the variable change by negative 1 if the hero is in the air, or set it to 0 if it's on the ground.