Book 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: A Problem-Solution Approach 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:
- Creating a game menu
- Collision detection
- Moving characters
- 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
Chapter 1: Getting Started
Chapter 2: Loading an Image
Chapter 3: The Splash Screen
Chapter 4: The Menu Screen
Chapter 5: Reading Player Input
Chapter 6: Loading a SpriteSheet
Chapter 7: Scrolling a Background
Chapter 8: Scrolling Multiple Backgrounds
Chapter 9: Syncing the Background to Character Movement
Chapter 10: Building a Level Using Tiles
Chapter 11: Moving a Character
Chapter 12: Moving an Enemy
Chapter 13: Moving a Character with Obstacles
Chapter 14: Firing Weapons
Chapter 15: Collision Detection
Chapter 16: Keeping Score
Chapter 17: Keeping Time
中文:
书名:Android Game Recipes: A Problem-Solution Approach
Android游戏应用程序通常是各种Google Play、亚马逊应用商店和其他Android应用程序商店中最受欢迎的Android应用程序类型。那么,除了现有的Android游戏教程之外,为Android游戏开发人员提供方便且完整的源代码参考如何?
Android游戏秘诀:一种解决问题的方法这是您第一个可靠的游戏编码参考,适用于当今的Android游戏应用程序。这本书提供了易于遵循的现实世界游戏代码问题和解决方案,包括源代码。
这本书涵盖了2D游戏开发问题中常见的代码配方解决方案,如设计游戏菜单、碰撞检测、移动角色、移动背景等。这本书还包括如何处理玩家输入,如何添加多个关卡,如何为不同的屏幕分辨率创建游戏图形,以及如何使用设备传感器。
阅读并使用本书后,您将拥有应用于您的游戏应用程序设计的模板代码片段、解决方案和框架,以构建您的游戏,自定义它,然后在Android应用程序商店上销售它。
你会学到什么?
- 如何使用这个方便的代码参考来创建、设计、构建和增强您的Android游戏应用程序
- 对于2D游戏开发问题,有哪些常见的解决方案,例如:
- 创建游戏菜单
- 碰撞检测
- 移动的角色
- Basic physics
- 如何在Android上掌握OpenGL ES 2的基础知识
- 如何用游戏图形创作最佳作品
- 为什么简单的轨迹数学很重要以及如何使用它
- 如何为应用程序的游戏添加多个关卡
- 如何存储数据
Who this book is for
本书面向Android中级开发人员和/或游戏开发人员。
目录表
Chapter 1: Getting Started
第2章:加载图像
第3章:闪屏
第4章:菜单屏幕
第5章:阅读玩家输入
Chapter 6: Loading a SpriteSheet
Chapter 7: Scrolling a Background
第8章:滚动多个背景
Chapter 9: Syncing the Background to Character Movement
Chapter 10: Building a Level Using Tiles
第11章:移动角色
第十二章:移动敌人
第13章:用障碍物移动角色
第十四章:开火
Chapter 15: Collision Detection
第16章:记分
第十七章:守时
评论前必须登录!
注册