Android Game Recipes

A Problem-Solution Approach

By Jerome DiMarzio

Android Game Recipes Cover Image

Android Game Recipes is your first, reliable game coding reference for today's Android game apps. This book provides easy to follow real world game code problems and solutions, including source code.

Full Description

  • ISBN13: 978-1-4302-5764-6
  • 256 Pages
  • User Level: Intermediate
  • Publication Date: December 9, 2013
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $39.99
  • eBook Price: $27.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Android game apps are typically the most popular type of Android apps in the various Google Play, Amazon Appstore and other Android app stores. So, beyond the Android game tutorials out there, what about a day-to-day handy and complete code reference for Android game developers?

Android Game Recipes is your first, reliable game coding reference for today's Android game apps. This book provides easy to follow real world game code problems and solutions, including source code.

This book covers code recipe solutions that are common to 2D game development problems such as designing a game menu, collision detection, moving characters, moving backgrounds and more. This book also includes how to work with player input, how to add multiple levels, how to create game graphics for different screen resolution, and how to work with device sensors.

After reading and using this book, you'll have the templated code snippets, solutions and frameworks to apply to your game app design to build your game, customize it, and then sell it on the Android app stores.

What you’ll learn

• How to use this handy code reference for creating, designing, building and enhancing your game app for Android

• What solutions are common to 2D game development problems such as:

o Creating a game menu

o Collision detection

o Moving characters

o Basic physics

• How to master the fundamentals of OpenGL ES 2 on Android

• How to create the best work with game graphics

• Why is simple trajectory math important and how to use it

• How to add multiple levels to your games for your app

• How to store data

Who this book is for

This book is for intermediate Android developers and/or game developers looking at Android.

Table of Contents

Table of Contents

1. Getting Started

2. Loading an image

3. Splash screen

4. Menu

5. Reading Player Input

6. Loading a SpriteSheet

7. Scrolling a Background

8. Scrolling a Multi-layered Background

9. Syncing a Background to Character Movement

10. Creating a level from tiles

11. Moving a Character

12. Moving an Enemy

13. Moving a character with obstacles

14. Firing Weapons

15. Collision Detection

16. Keeping score

17. Keeping Time

Errata

Please Login to submit errata.

No errata are currently published