Reputation: 1066
I am currently using Xcode 4.2 and ios 5. I need a way to implement Game Center for my game. But my game is programmed in c++. Problem is, every tutorial on Game Center i have seen so far, the GameCenter is implemented on Objective-c. Pls Advice how can I implement GameCenter using c++ on ios platform?
Upvotes: 0
Views: 574
Reputation: 3216
You must implement the interaction with game center in objc. What you can do is create a single object that handles game center in a objc++ file (.mm). There you can call your c++ code and forward all requests/data.
Upvotes: 1