Book Image

Mastering Android Game Development

By : Raul Portales
Book Image

Mastering Android Game Development

By: Raul Portales

Overview of this book

Table of Contents (18 chapters)
Mastering Android Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
API Levels for Android Versions
Index

Beyond this book


We made it! We have built a game from scratch using the Android SDK. We have built a game engine that has a separate UpdateThread and DrawThread, we have sprites that can move around, we have handled touch and gamepad controllers, and added collision detection, sound, and even particles.

We have also used the components of the Android framework to build our menus and dialogs and made use of the animation tools to make it more dynamic.

YASS also has achievements and leaderboards using Google Play Game Services and now it is ready to be played on Android TV as well.

At this point, there are a few things that can be done to improve the game and that can be a good exercise to help you move forward, if you feel like it. Some ideas are:

  • Spawn multiple waves with increasing difficulty

  • Include bigger asteroids that break in smaller parts when hit

  • Add ship selection: provide several ships with different characteristics (speed, fire ratio, and so on)

  • Implement power-ups like shields or improved...