TV on a Rolling Cart

Advanced Scratch Topics: User-Controlled Scrolling Backgrounds

From Scratch

Advanced Scratch Topics: User-Controlled Scrolling Backgrounds
5 min5th6thTechnology
access

Summary

An advanced follow-up to scrolling backgrounds: instead of scrolling automatically, the background now scrolls based on which direction the player presses, like a real platformer or exploration game.

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 lets the player control which way the background scrolls, instead of it scrolling on its own.

  1. What's different about this scrolling project compared to an earlier automatic one?
  2. What key presses control the direction of the scroll?
  3. What kind of game genre uses player-controlled scrolling like this?

Quick work-a-long

Words to know: player-controlled, direction, scroll speed.

Try it: Sketch which arrow key you'd want to scroll the background left versus right in your own game idea.