Scrollers are a common genre of game where your hero stays at or near the
centre of the screen, while the game environment "
scrolls" past.
In S2JS we're going to look at two different types of scroller:
- Where the background flows at a constant rate
- Where the background moves depending on your hero
The first type is the simplest, and that's what we'll do in this topic.