No description, website, or topics provided.
C++ Objective-C++ Java Shell C Objective-C Perl
Clone or download
Pull request Compare This branch is 30 commits ahead, 1 commit behind gree:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

GREE Platform SDK for Cocos2d-x

Developers can call GREE Platform SDK from cocos2d-x context


To prepare your environment, please execute


And proper 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 :

AndroidSDK :

create project(for Android):

Under cocos2dx top directory, please execute

$cd ./cocos2d-2.0-x-2.0.4

To execute, you have to specify both of AndroidNDK path and Android SDK path. You can modify or you can specify with Environmental valiables.

$export NDK_ROOT="/home/hoge/android-ndk-r8b/";
$export ANDROID_SDK_ROOT="/home/hoge/android-sdk-linux/";

install Xcode template(for iOS):

Under cocos2dx top directory, please execute with root permission, and you can select cocos2dx gree_extension template from Xcode.

$cd ./cocos2d-2.0-x-2.0.4
$sudo ./

WebViewPlugin 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

You can select whether you use one of GreePlatformSDK and WebViewPlugin, or both of them with script.

$./ -m all  # prepare both of GreePlatformSDK and WebViewPlugin
$./ -m webview # only setup WebViewPlugin