What You’ll Learn in This Hour
• Understanding the theory of background scrolling
• Creating a shoot-’em-up game
In the previous hour we covered linear velocity, a technique used to simulate firing projectiles (bullets, laser beams missiles, and the like). It is also used to move things in a certain direction. The example started in that hour showed a spaceship (controlled by the player), which could fire laser beams at obstacles on the screen—the start of a shoot-’em-up game. This hour covers background scrolling and ties the two together into a cohesive whole game example—a demo that could be the start of a larger, more fully developed game with enemy ships and the like.