Chapter 8. Platformer – Putting It All Together

Finally, we will make the bullets do some damage. The ricochet sound is very satisfying when the bullets energy is absorbed by a clump of grass. We will add an abundance of new platform types and inanimate scenery objects to make our levels more interesting. We will provide a real sense of motion and immersion by implementing multiple scrolling parallax backgrounds.

We will also add an animated fire tile for the player to avoid, and in addition, a special Teleport class to link levels together into one playable game. Then, we will use all of our game objects and backgrounds to create four, linked, and fully playable levels.

Then, we will add a HUD to keep track of pickups and lives. Finally, we will ...

Get Android Game Programming: A Developer’s Guide 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.