Skip to content
Plugin(Cocos2d-x/iOS/Android)プロジェクトです。
C++ Objective-C C Java Objective-C++ CMake Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cocos2dx_android_plugin
cocos2dx_ios_plugin
cocos2dx_plugin
.gitignore
README.md

README.md

Cocos2dx Plugin

the project is iOS / Android plugin for Cocos2d-x.

Description

the project is develoed by Cocos2d-x(3.10),Xcode(9.2),Android Studio(2.2.2),

iOS plugin supported iOS10.0 Later.

Android plugin supported Android 4.3(JELLY_BEAN_MR2/API Level 18) Later.

Usage

Notes on use for iOS

1.build cocos2dx_ios_plugin or copy Cocos2dxiOSPlugin.framework to your cocos2d-x ios project.

2.open your cocos2d-x ios project in Xcode. and should to D&D Cocos2dxiOSPlugin.framework to General→Embedded Binaries.

3.you should to change Xcode settings.

  • Architectures→Build Architecture Only:Debug/Release→Yes

  • Architectures→Supported Platform:iphoneos→iOS

  • Build Settings→Always Embed Swift Standard Libraries→YES

  • Generarl→Deployment Info→Deployment Target→iOS10.

4.you should to change C++ source type C++ to Objective-C++ in following directory

5.build your cocos2dx ios project with Xcode.

Notes on use for Android

1.build cocos2dx_android_plugin or copy Cocos2dxAndroidPlugin.jar to your cocos2d-x android project following directory

2.build cocos2d-x android project with cocos command for Android Studio.

cocos compile -s /path/to/your/cocos2d-x android project -p android --android-studio
You can’t perform that action at this time.