- Android Game Programming by Example
- John Horton
- 211字
- 2021-07-16 13:50:00
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 perse 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