"Multi-in-the-same mahjong" (mobile phone + server + website backstage) Full set of full source download

Source: Internet
Author: User

The client source code was developed based on the Cocos2d-x 3.10 version. The codes are fully editable. I have successfully compiled the Android package and run properly under the Windows platform. Source code inside also has the source of the server (C + +), after re-identification should be supporting, The server side has the time and ability of the students can set up their own, I will give all the resources, including the background management Program (Java), database files, IP configurator and so on.

Compilation environment: Windows7 (64-bit) + cocos3.13.1 + ndk13 + ant1.9.7 + python2.7.5 + android-sdk (+) + jdk8
All the tools needed to build, in addition to the cocos3.13.1 engine need to download their own, all the other tools used will be included inside.


Environment configuration (Here I take the D disk for example, all things installed in the D-plate, everyone installed according to the actual situation selected)

The best thing is to put the client project root in the root directory of the drive, otherwise if it is placed in a deeper directory. The NDK will compile without compiling because the directory is too long. But the NDK tip will not tell you that the directory is too long to fail
, and also pay attention to the remaining space of the drive letter. If not enough, it will fail. In addition, the obj directory in the project.android directory is deleted when compiling an Android project. Otherwise, some directory errors are reported. Causes compilation to fail.


1-ant configuration: Extract ant to D Drive, set environment variable, add ant_root = Bin directory under ant installation directory (e.g. D:\apache-ant-1.9.7\bin) in user variable
2-python configuration: Double-click the Python installation file, after the installation is successful, set the environment variable to append the Python root (such as D:\python27;) to the head of the system variable PATH variable.
3-NDK configuration: After NDK decompression, configure environment variables in user variable add ndk_root = ndk root directory (e.g. D:\ndkr13b)
4-android SDK configuration: After adt-bundle-windows-x86_64-20140624 decompression, the SDK in the directory is the Android SDK. Add android_sdk_root = SDK root in user variables (e.g. D:/ADT-BUNDLE-WINDOWS-X86_64-20140624/SDK)

5-If you need to open eclipse, you also need to install the JDK, Java.rar (java1.8) in the shared file. After the installation is complete. Configure the user variable java_home = JAVA root (such as D:/java), while configuring the path variable to chase Add D:/java/bin;

6-The above environment is configured, download cocos2d-x13.3.1 (to cocos.com download), after the installation is complete. setup.py is executed at the Cocos root directory, Double-click on it. It's just checking the environment variables and settings we configured above cocos some variables. If one flashes, that means there is no problem with the configuration. If you stay in the CMD interface. It is generally the case that we have not configured the environment.

7-Finally, the final configuration is done after downloading the project. This is explained in a compilation step in the shared folder.
650) this.width=650; "id=" aimg_1356 "src=" http://www.ttkmwl.com/data/attachment/forum/201707/29/ 113326asiu7juhei2inhpd.jpg "class=" Zoom "alt=" 113326asiu7juhei2inhpd.jpg "width=" "/>"
"Multi-in-the-same mahjong" (mobile phone + server + website backstage) Complete full source download http://www.ttkmwl.com/thread-588-1-1.html

"Multi-in-the-same mahjong" (mobile phone + server + website backstage) Full set of full source download

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.