Cocos2d-X development of Chinese chess 14 game package into APK, 14 apk
In the previous blog, from the return of game scenes to the start scene and the use of xml to display Chinese characters in the game, this blog will be the last article of the Cocos2d-X to develop the Chinese chess series blog, this blog will introduce how to port Chinese chess to Android.
Since I 've previously written two articles about how to port a Cocos2d-X program to Android, this blog will only provide a rough Introduction
Refer to my previous blog:
Build Windows Android Development Environment: http://blog.csdn.net/u010105970/article/details/39755745
Build the Android development environment of Cocos2d-X in Windows: http://blog.csdn.net/u010105970/article/details/40474803
Port the program to Eclipse
Select jni
Select Android. mk
Add
../../Classes/AppDelegate.cpp \ ../../Classes/SceneGame.cpp \ ../../Classes/SceneStart.cpp \ ../../Classes/Stone.cpp
Effect after adding:
Program running result:
Start Interface
Game Interface
Displays the game interface of the pawns.
When a player wins the show result box
When a player loses the displayed result box
Full Engineering: http://pan.baidu.com/s/1pJBLFkf
Code and resources: http://download.csdn.net/detail/u010105970/8133081
Zookeeper