طراحی پورتال های سازمانی شرکت پروجان

شیرپوینت و پراجکت سرور پروجان

استقرار شیرپوینت و پراجکت سرور

مسیر سایت

کتاب Android Studio Game Development - Concepts and Design.pdf

Android Studio Game Development - Concepts and Design.pdf

دانلود رایگان کتاب Android Studio Game Development.pdf 

Concepts and Design

J. F. DiMarzio

Copyright © 2015 by J. F. DiMarzio

لینک دانلود کتاب Android Studio Game Development.pdf

 

Contents

 

■■Chapter 1: Setting Up Android Studio .......................................... 1

Installing the JDK .................................................................................... 1
Installing Android Studio .......................................................................... 3
Updating Android Studio .......................................................................... 5

 

■■Chapter 2: Creating a New Project ............................................... 9

Opening Android Studio for the First Time ................................................. 9
Creating a New Project ............................................................................ 11

 

■■Chapter 3: Exploring the IDE ....................................................... 17

Android Studio Windows ......................................................................... 18
Project Window ...................................................................................... 19
Code Editor ............................................................................................ 21
Layout Editor .......................................................................................... 23
IntelliJ .................................................................................................... 24
Code Generation ..................................................................................... 25
Getters and Setters ................................................................................. 25
Autocomplete ......................................................................................... 25
Breakpoints ............................................................................................ 26

 

■■Chapter 4: GitHub as your VCS .................................................... 29

Setting up a GitHub Account ................................................................... 31
Setting a VCS in Android Studio .............................................................. 33
Sharing a project on GitHub ................................................................... 34

 

■■Chapter 5: Intro to Game Development ..................................... 39

The Game Engine .................................................................................. 40
The Game Loop ..................................................................................... 41

 

■■Chapter 6: OpenGL ES and Polygons .......................................... 43

Understanding How OpenGL ES Works with Android ............................... 43
Using Shaders ...................................................................................... 45
Vertex Shaders ..................................................................................... 45
Fragment Shaders ................................................................................ 45
Setting Up Your Game Loop .................................................................. 46

 

■■Chapter 7: Loading Images and Spritesheets ............................ 53

Adding the Image to Your Project .......................................................... 54
Loading the Image ............................................................................... 56
Making the Image Scroll ....................................................................... 58
Working with Spritesheets .................................................................... 66

 

■■Chapter 8: Reading User Input ................................................. 73

Using the onTouchEvent() .................................................................... 73
Adding a Gesture Listener .................................................................... 77

 

■■Chapter 9: In-Game Movement .................................................. 81
 
■■Chapter 10: Collision Detection .................................................. 85

Using Basic Collision Detection ............................................................... 85
Using More Robust Collision Detection .................................................... 87
Index ................................................................................................... 93

 

Chapter 1
Setting Up Android Studio
Welcome to Android Studio Game Development. This book focuses on specific tasks in the process of game development as performed in Android Studio. In this chapter, you are going to install Android Studio and the required Java Development Kit (JDK) . By the end of this chapter, you will have a functional Android Studio integrated development environment (IDE) that you can use to develop amazing Android-based games.

 

 

Installing the JDK
The first step you want to perform is to download and install the JDK. Because Android applications—including games—are developed in Java, Android Studio needs the JDK to run. The JDK includes many Java tools such as the compiler (javac), the document generator (javadoc), and the key tool (keytool).

 

لینک دانلود کتاب Android Studio Game Development.pdf

 

 

 

عضویت در خبرنامه