Game Development Reference
In-Depth Information
6.
After you have the USB driver properly installed, simply plug your
phone into the USB port of your computer. Eclipse recognizes and
displays it in the Android devices and log views, just as it does with
the emulator.
The real device I used for this topic was the Samsung Galaxy Grand 2, which, once the USB
drivers are installed, will be listed as shown in Figure 1-14 .
Figure 1-14. A real device shown in the Android Studio Device view
You can now use it to test your games!
At this point, your environment should be configured and ready for development, but before
you finish, you must import the source code associated with this topic into your Android
Studio workspace.
Importing the Source Code into Android Studio
It is highly recommended that you import the companion source code for this topic into your
workspace. The later chapters describe game engines that are extremely complex, each
with a minimum of 100K of source code in C/Java. I have tried my best to explain as simply
and cleanly as possible the difficult concepts, and therefore most of the code listings have
been stripped for simplicity. The source will allow you to understand what I am trying to
emphasize on each chapter's listing. Each project has been named after its corresponding
chapter number and game engine being described. To import the source code,
follow these steps.
 
Search WWH ::




Custom Search