Game Development Reference
In-Depth Information
1.
Obtain the source package (usually in ZIP format) from the Source
Code/Download tab of the topic's information page
( www.apress.com/xxxxxxxxxxxxx ) and decompress it into your
working folder (in my case C:\workspace ).
2.
In the Android Studio main menu, click File ➤ Import Project. . . Point
to the project you want to import from source package and click Ok.
3.
The chapter project will be then loaded into Android Studio.
Each project in the source is named after a chapter number and engine being described.
Look around each project to familiarize yourself with the project layout. You'll find that most
projects have a large base of C code wrapped around thin Java wrappers. This workspace
helps immensely for understanding the later chapters that describe native engines, which
are big and difficult to explain.
Summary
Congratulations! You have taken the first step toward your mastery of Android game
development. In this chapter, you learned how to set up your system to compile hybrid
games, which included the following tasks:
Installing the Android Studio 1.0.1
Installing and configuring the Android NDK
Creating emulators or real devices
This chapter has provided the foundation to compile the games described throughout
this topic. In Chapter 2, you will learn how to write and compile a basic native program
(or shared library) and call it within a Java application.
 
Search WWH ::




Custom Search