Hi,
I’ve been trying to add Game Center functionalities to my Cocos2D-x project with no luck.
I checked out different tutorials on the web but the problem is that all of them are in ObjectiveC.
I found a test application called GKTapper which shows how to use GameCenter, these are the files:
http://www.kiwicode.org/share/GameCenterManager.h
http://www.kiwicode.org/share/GameCenterManager.m
http://www.kiwicode.org/share/AppSpecificValues.h
I know it’s possible to mix C++ with ObjectiveC like in CocosDenshion. I guess that doing the same for the
GameCenterManager files would help integrating Game Center to my Cocos2D-x project. The problem is that I’m not very familiar
with ObjectiveC ( that’s why I chose to work with Cocos2Dx ).
These are my questions:
- Does any of you know any good tutorial/example which shows how to integrate Game Center with Cocos2D-x ( I googled with no luck ).
- Do you think mixing GameCenterManager with objectiveC might be a solution to solve this problem? Is any of you able to do this, I guess this would help the whole Cocos2D-x community.
Looking forward to your reply.
Many thanks!
AppSpecificValues.h.zip (1.8 KB)