Cocos2d-X development of Chinese chess 14 game package into APK, 14 apk

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.