Hour 23. Scrolling the Background
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.
Background Scrolling Overview
Background ...
Get Sams Teach Yourself Android Game Programming in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.