- 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 youll 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 Contents1. Getting Started
2. Loading an image
3. Splash screen
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
If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.No errata are currently published