Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gree/greeplatformsdkcocos2dx
https://github.com/gree/greeplatformsdkcocos2dx
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gree/greeplatformsdkcocos2dx
- Owner: gree
- License: other
- Created: 2012-12-06T12:28:50.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-07T02:44:29.000Z (over 11 years ago)
- Last Synced: 2023-04-11T19:38:31.480Z (over 1 year ago)
- Language: C++
- Size: 2.62 MB
- Stars: 23
- Watchers: 8
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GREE Platform SDK for Cocos2d-x
==========================================================Developers can call GREE Platform SDK from cocos2d-x context
# setup:
To prepare your environment, please execute$./setup.sh
And proper cocos2dx.xxx.zip will be downloaded and be extracted.To develop cocos2dx android app, also you have to download
AndroidNDK and AndroidSDK.To get each of them from the urls below.
AndroidNDK : [http://developer.android.com/tools/sdk/ndk/index.html](http://developer.android.com/tools/sdk/ndk/index.html)
AndroidSDK : [http://developer.android.com/sdk/index.html](http://developer.android.com/sdk/index.html)
# create project(for Android):
Under cocos2dx top directory, please execute create-android-gree-project.sh$cd ./cocos2d-2.0-x-2.0.4
$./create-android-gree-project.shTo execute create-android-gree-project.sh, you have to specify both of AndroidNDK path and Android SDK path.
You can modify create-android-gree-project.sh or you can specify with Environmental valiables.
$export NDK_ROOT="/home/hoge/android-ndk-r8b/";
$export ANDROID_SDK_ROOT="/home/hoge/android-sdk-linux/";
$./create-android-gree-project.sh# install Xcode template(for iOS):
Under cocos2dx top directory, please execute install-gree-templates-xcode.sh with root permission,
and you can select cocos2dx gree_extension template from Xcode.$cd ./cocos2d-2.0-x-2.0.4
$sudo ./install-gree-templates-xcode.shWebViewPlugin for Cocos2d-x:
==========================================================
Add webview_plugin module enables developers to use platform independent WebView function from Cocos2dx context.
It works on Android and iOS.
This is derived from the work done by keijiro-san on https://github.com/keijiro/unity-webview-integration.You can select whether you use one of GreePlatformSDK and WebViewPlugin, or both of them with setup.sh script.
$./setup.sh -m all # prepare both of GreePlatformSDK and WebViewPlugin
$./setup.sh -m webview # only setup WebViewPlugin