Hub

Cocos2dx Google Play Game Services

Thumb_tech-google-play-games-1

Brief

Template to use Google Play Game Services on Cocos2d-x 2.1.X for Android and IOS: Leaderboards, Achievements

Description

Template to use Google Play Game Services on Cocos2d-x 2.1.X for Android and IOS: Leaderboards, Achievements

Check README for more information about how to use or change.

V.1.0.0

Android Google Play Game Services with Cocos2d-x Support for Achievements and Leaderboards.

V.1.0.1

Bugs fixed by vivekporwal - https://github.com/vivekporwal

Submit score to play services was not working properly before because of call to bad function signature in JNIHelper.cpp which is corrected now.
'long score' was taking garbage value as not converted to jlong is also fixed.
incrementAchievement : function call done for Boolean instead of Integer is corrected now.
Version for Cocos2d-x v3.0 by howlryu - https://github.com/howlryu

https://github.com/howlryu/Cocos2dX_GooglePlayGamesServices

V.1.0.2

IOS Leaderboards, Achievements and Little demo implemented.
Merge android project and IOS project to manage some platforms with the same code.
On Android Side modify the "gamehelper_ids" xml to update the app id and on the IOS side update the "PlayGameConstants.h" to make changes.
Leaderboards ID's and Achievements ID's are in the "PlayGameConstants.h" file
Created "PlayGameSingleton.h" for IOS side.
Check IOS folder to watch the files.

V.1.0.3

Android Screen Blinking (Flickering) fixed thanks to - https://github.com/cocos2d/cocos2d-x/pull/5320
IOS files updated to support version lower to IOS7 because "animated" on "Google Play Game Services" IOS has issues on ipod version (just tested on iPad mini and iPod Touch)
Android and IOS AdMob integration.
JNIHelper added to Xcode project and with pragma validation just for Android to use the same code on both versions.
Some bugs fixed.

v.1.0.4

Added AdMob interstitial support. Now you can preload interstitial ads and show whenever you want.
v.1.0.5

Admob intestitial support by hydex86 - https://github.com/hydex86 ; https://github.com/cpinan/Cocos2dX_GooglePlayGamesServices/pull/6
v.1.0.6

Lot of issues fixed.
Removed some features for unknown bugs.
Change the ID for Google Play Services work.
Special thanks to:

Hyunho.
Iam Ks.
Patinya Janluechai.
Tahir Slezovic.
Alberto Gonzáles.
Evgeniy Fedoseev.
Hori from China.
Francis Free.
Pietro Vieria.
Thanks for your collaboration to fix this issues with the merge.

Comments

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.