Advanced Scratch Topics: User-Controlled Scrolling Backgrounds
From Scratch

5 min5th6thTechnology
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.
- What's different about this scrolling project compared to an earlier automatic one?
- What key presses control the direction of the scroll?
- 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.
