Beginning Android 3D Game Development

Book description

Beginning Android 3D Game Development is a unique book for today's Android and game app developers who want to learn how to build 3D game apps that run on the latest Android KitKat platform using Java and OpenGL ES. A Drone Grid game case study is included.

Table of contents

  1. Title Page
  2. Contents at a Glance
  3. Contents
  4. About the Author
  5. About the Technical Reviewer
  6. Acknowledgments
  7. Introduction
  8. Chapter 1: Let’s Meet the Android
    1. Overview of Android
    2. Overview of the Android SDK
    3. Hands-on Example: Non–OpenGL ES Text “Hello World” Program
    4. Summary
  9. Chapter 2: Java for Android
    1. Overview of the Java Language
    2. Java Comments
    3. Java Basic Data Types
    4. Java Operators
    5. Java Flow Control Statements
    6. Java Classes
    7. Java Functions
    8. The Basic Android Java Program Framework
    9. The Basic Android Java OpenGL Framework
    10. Hands-on Example: A 3D OpenGL “Hello Droid” Example
    11. Summary
  10. Chapter 3: 3D Math Review
    1. Vectors and Vector Operations
    2. Matrices and Matrix Operations
    3. Hands-on Example: Manipulating Objects in 3D Space
    4. Summary
  11. Chapter 4: 3D Graphics Using OpenGL ES 2.0
    1. Overview of OpenGL ES 2.0 on Android
    2. Overview of the OpenGL ES 2.0 Shading Language
    3. Overview of Vertex Shaders
    4. Overview of Fragment or Pixel Shaders
    5. Overview of the Shader Class
    6. The Camera
    7. The 3D Object Mesh
    8. Lighting
    9. Materials
    10. Textures
    11. Summary
  12. Chapter 5: Motion and Collision
    1. Overview of Motion
    2. The Physics Class
    3. Hands-on Example: Linear Motion and Angular Motion Using Forces
    4. Overview of Collisions
    5. Hands-on Example: Collisions
    6. Newton’s Law of Gravity
    7. Drone Grid Case Study: Creating a Gravity Grid Using a Vertex Shader
    8. Summary
  13. Chapter 6: Game Environment
    1. Overview of Sounds on Android
    2. Hands-on Example: Sounds
    3. Overview of a Heads-Up Display
    4. Drone Grid Case Study: Creating the HUD
    5. Overview of Persistent Data
    6. Hands-on Example: Saving Persistent Data
    7. Summary
  14. Chapter 7: Drone Grid Case Study: Creating the Player
    1. Creating the Player Graphic
    2. Creating the Player’s Viewpoint and Input
    3. Creating Player Weapons and Ammunition
    4. Creating the Explosions
    5. Creating Game Object Statistics
    6. Hands-on Example: Target Shooting!
    7. Summary
  15. Chapter 8: Drone Grid Case Study: Creating the Enemies
    1. Creating Arena Objects
    2. Overview of Artificial Intelligence
    3. Creating the Tank Enemy
    4. Hands-on Example: Arena Objects and Tanks
    5. Summary
  16. Chapter 9: Drone Grid Case Study: The User Interface
    1. Creating the Main Menu System
    2. Creating the High Score Table
    3. Creating the High Score Entry System
    4. Hands-on Example: Demonstrating the User Interface
    5. Summary
  17. Chapter 10: The Final Drone Grid Game
    1. Organizing and Controlling Groups of Enemies
    2. The GamePlayController Class
    3. Saving and Loading the Game State
    4. Adding in the Game Over Game State
    5. Hands-on Example: The Drone Grid Game
    6. Summary
  18. Chapter 11: The Android Native Development Kit (NDK)
    1. NDK Overview
    2. NDK System Requirements
    3. Android Platform Compatibility
    4. Installing the Android NDK
    5. Ways to Use the Android NDK
    6. Java Native Interface Overview
    7. Android JNI Makefile
    8. Hands-on Example: “Hello World from JNI and Native Code”
    9. Hands-on Example: Adding Native Functions to the Drone Grid Game Case Study
    10. Summary
  19. Chapter 12: Publishing and Marketing Your Final Game
    1. Creating the Final Distribution File
    2. Testing the Distribution .apk File
    3. List of Android Marketplaces and Policies
    4. List of Android Ad Networks
    5. List of Android Game Review Web Sites
    6. List of Other Helpful Sites for Android Developers
    7. Summary
  20. Index

Product information

  • Title: Beginning Android 3D Game Development
  • Author(s):
  • Release date: March 2014
  • Publisher(s): Apress
  • ISBN: 9781430265474