售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Introduction to Android N and Installation of Android SDK
Introduction to Android N
Software requirements
The nuts and bolts of Android
Package names
Layouts
Android Manifest file
Summary
Getting Familiar with Android Studio
Understanding the Android project structure
Creating your first Android Studio project
Project Structure of an Android Project
Creating our Hello World! program
Setting up the emulator
Summary
Managing Inputs
Resource folder in detail
Taking user inputs
Button input
Hardware button input
Touch input
The Accelerometer input
Building and deploying through USB
Building an apk and installing on device
Summary
Creating Sprites and Interactive Objects
Game Theory
Illusions
Game loop
Game Design Document
Prototyping
Surface and Canvas
Working with colors and images
Creating colors
Creating images
Summary
Adding Animation to Your Game
Adding animations to make your game more awesome
Making our player character
Summary
Collision Detection and Basic Artificial Intelligence
Collision detection
Algorithms for collision detection techniques
Bounding Box Collision
Circle Collision
Detecting collisions in our game
Making our player jump
Dodging incoming rocks
Defining our variables
Tackling the infinite loop situation
Initializing our variables
Collision behavior
Collision function
Drawing our objects on the screen
Artificial Intelligence
History of Artificial Intelligence
Artificial Intelligence Algorithms
Breadth-First Search
Depth-First Search
Bidirectional search
Uniform cost search
Iterative deepening Depth-First Search
Comparison of preceding algorithms complexities
A * search
Creating your own Artificial Intelligence
Summary
Adding Boundaries and Using Sprites to Create Explosions
Adding boundaries
Creating the classes for our boundaries
Creating boundaries in our game
Creating the variables required
Referencing our boundaries
Updating our boundaries
Drawing our boundaries on the screen
Detecting a collision between the ground and player
Maximum and minimum boundary heights
Creating a new game
Creating explosions
Summary
Adding an Explosion and Creating a UI
Adding an explosion to our game
Creating variables
Some optimizations and improvements
Spawning our explosion
Drawing the explosion on the screen
Creating the UI for our game
Summary
Converting Your Game from 2D to 3D
Introduction to OpenGL ES
Learning about the 3D coordinate system
Creating a 3D scene with OpenGL ES
Creating our project folder
Creating a render class and defining a main activity
Defining shapes
Summary
Working Further on 3D Game
Rendering our object on screen
Adding colors to our object
Rotating our object
Creating a pyramid 3D object
Defining the shape
Rendering our 3D object
Summary
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜