Book Image

Android Game Programming by Example

By : John Horton
Book Image

Android Game Programming by Example

By: John Horton

Overview of this book

Table of Contents (18 chapters)
Android Game Programming by Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
7
Platformer – Guns, Life, Money, and the Enemy
Index

A closer look at the games


Here is a quick glimpse at the three projects.

Tappy Defender

Fly Flappy Bird-style with one finger to reach your home planet, while avoiding multiple enemies. Features include:

  • Basic animation

  • Home screen

  • Collision detection

  • High scores

  • Simple HUD

  • One-finger touch screen controls

Tough retro platformer

This is a genuinely tough-to-beat retro style platform game. We have to guide Bob from the underground fire caves through the city, forest, and finally to the mountains. It has four challenging levels. Features include:

  • A more advanced, flexible game engine

  • More advanced "sprite sheet" character animation

  • A level builder engine to design your levels in text format

  • Multiple scrolling parallax backgrounds

  • Transition between levels

  • A more advanced HUD

  • Add loads of extra diverse levels

  • Sound manager to easily manage sound FX

  • Pickups

  • An upgradeable gun

  • Seek-and-destroy enemy drones

  • Simple AI scripting for patrolling enemy guards

  • Hazards such as fire pits

  • Scenery objects to create atmosphere

Asteroids simulator

This is a classic shooter with retro vector-graphics style visuals. It involves clearing waves of smoothly animated spinning asteroids with a rapid fire gun. Features include:

  • 60 frames per second or better, even on old hardware

  • An introduction to OpenGL ES 2

  • Shooter with waves of progressive difficulty

  • Advanced multiphase collision detection