Get 1 Year of unlimited Apress for $199
Instant access to all available titles and new releases Apress Access Subscription

Android Game Recipes

A Problem-Solution Approach

By Jerome DiMarzio

  • eBook Price: $27.99
  • Print Book Price: $39.99
Buy eBook Buy Print Book
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

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

Related Titles

  • Pro Android Graphics
  • Android Recipes
  • Learn Android App Development
  • Android Best Practices
  • Android TV Apps Development
  • Android Studio Game Development
  • MMOs from the Inside Out
  • MMOs from the Outside In
  • Pro Vagrant
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

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published

Best-Sellers

    1. PHP Objects, Patterns, and Practice

      $38.99

      View Book

    2. Beginning Android 3D Game Development

      $34.99

      View Book

    3. Troubleshooting Oracle Performance

      $41.99

      View Book

    4. Beginning Amazon Web Services with Node.js

      $38.99

      View Book