In this chapter, we have seen how to add the interaction between our C++ game logic code and the Android core Java layer by using JNI, we have also displayed the Google AdMob banner in our game by directly modifying the Java Activity
class code that was created during the invocation of the cocos
command.
Building Android Games with Cocos2d-x
By :
Building Android Games with Cocos2d-x
By:
Overview of this book
Table of Contents (16 chapters)
Building Android Games with Cocos2d-x
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Setting Up Your Development Environment
Graphics
Understanding Game Physics
User Input
Handling Text and Fonts
Audio
Creating Particle Systems
Adding Native Java Code
Index
Customer Reviews