TV on a Rolling Cart

Advanced Scratch Topics: Gravity

From Scratch

Advanced Scratch Topics: Gravity
6 min5th6thTechnologyScience
access

Summary

An advanced tutorial simulating gravity in Scratch: a variable for vertical speed increases over time so a sprite falls realistically and bounces or lands when it hits the ground -- the physics behind any platformer jump.

Viewer safety

All ages
Common Sense Media — not yet ratedIMDb Parents Guide — not yet rated

Our rating is a quick teacher-to-teacher guide — preview before showing.

Teaching resources

Discussion questions

Discussion

This video simulates gravity so a sprite falls and lands realistically.

  1. What variable does the project use to represent falling speed?
  2. Why does the sprite fall faster the longer it's in the air?
  3. What real-world falling object does this remind you of?

Quick work-a-long

Words to know: gravity, variable, speed.

Try it: Create a "fall speed" variable and add a block that increases it a little bit every time through a loop.

Advanced Scratch Topics: Gravity — TV on a Rolling Cart