Features
Latest Library | GoogleMobileAdsSdkiOS-6.12.2 InMobi-iOS-SDK-4.5.1 Google Play Service |
Mediation Support (iOS) | AdMob, iAd, InMobi |
Google Play Service Support (android) | Necessary at Publish/Updating Android app from August 2014 |
Plugin-x smart banner Bug fix (android) | Fixed Source : AdsWrapper.java |
Prerequisites
1. Setting up the Cocos2d-x Development Environment
Cocos2d-x v3.4 |
Xcode 5.1 or above |
Eclipse Luna Service Release 1a (4.4.1) with ADT&CDT plugin |
admob_cocos2dx_3_4-master.zip (Download from https://github.com/neokoala/admob_cocos2dx_3_4) |
2. Prepare the Test Project
CocosProjetcs/MyGame | cocos new -p com.nowapp.MyGame -l cpp MyGame |
3. Unzip admob_cocos2dx_3_4-master.zip and copy/replace to the MyGame project
Copy and replace HelloWorldScene.cpp,HelloWorldScene.h to Classes folder
Copy and replace plugins/admob folder to MyGame/cocos2d/plugin/plugins folder
Copy and replace protocols/proj.android/src folder to MyGame/cocos2d/plugin/protocols/proj.android folder
댓글 없음:
댓글 쓰기