replacement of game center ?

Dears,

My porting of cocos2d iphone game ChickenEggs(http://itunes.apple.com/us/app/chickeneggs/id446767688?mt=8) is almost finished.

But there is a problem about the iOS game center. I love this feature but I don’t know where is the replacement on Android.

Or, can I have the cross-platform game-center sdk(like the great cocos2d-x) that I can shared the very same code both on android and iOS ?

Thank you.

I want to say OpenFeint but I @#&(^! hate that thing and want to bury it’s stupid loading screen deep in HELL.

Sooo OpenFeint, just make a popup before it loads that asks if the user actually wants to use it. I won’t. It’s annoying and it takes 2 minutes to load and another 5 minutes to login. But many others do. I think the OpenFeint developers are sadistic. :slight_smile:

Look here.
http://www.cocos2d-x.org/boards/7/topics/3416

try whit mogade,

I am develop a mogade c++ client using curl and json-cpp, I will
publish on github on a few days…

I’ve never seen mogade in action. Will love to see it.

Hi, Dany :

I have read the topic that you mentioned.

But I think that’s a iOS solution, right ?

Can it be fitted into Android ?

Can I use Open Feint at both iOS/Android with cocos2d-x ?

Yea
http://openfeint.com/developers

Hi,

I already spend time to read the guide about setting up a game’s leaderboard and achievement, build a example to see my dashboard, leaderboard, achievements.

And I do see my setting about the game through the example, so I think that’s a small step to integrated OpenFeint.

But what’s next step ? How can I post a high score and unlock an achievement through cocos2d-x ?

How can I invoke a OpenFeint dashboard, leaderboard and achievements by click a CCMenuItem(button) on cocos2d-x selector call ?

Any references or suggestions is appreciated.

Thank you in advanced.

Everything is here http://support.openfeint.com/dev/welcome/

Getting Started: http://support.openfeint.com/dev/getting-started-with-of-android-1-10-24-integrate-openfeint-into-your-game/

Hi,

I do read them all before I asked the last question.

I think I have these questions is because that I am not familir with JNI/NDK or something like that.

If possible, can somebody give me a simple example ?

I can do the follow things by myself, thank you.

Ask on android-irc

Just a note here.

I have integrated the OpenFeint successfully by using NDK/JNI to call a Java method from cocos2d-x c library.

It’s spent a few days to me because I am not familiar with NDK/JNI, but I did get it works finally.

If you have the same questions like I have before, you can ask here.

I will do my best to answer.

hi Simon,

Would you mind posting a code snippet of one of the OpenFeint calls (i.e. send a high score)?

Thanks!

Yes, always the best and simplest way to help people is to post part of the code.

Why not provide it all as an extension? It would reduce the need for people to reinvent the same code.

Luke.

Eventually, I don’t like somebody’s attitude to my question.

But anyway, maybe someone like me won’t be at the insult again with this guide.

Here are the guide and complete codes that you can use on your project.

http://www.cocos2d-x.org/boards/6/topics/5119

Simon Lin wrote:

Eventually, I don’t like somebody’s attitude to my question.
>
But anyway, maybe someone like me won’t be at the insult again with this guide.
>
Here are the guide and complete codes that you can use on your project.
>
http://www.cocos2d-x.org/boards/6/topics/5119

Hello Simon,

Unfortunately that link does not work. Could you help me to get your codes?

Best regards,
Fedor

Hi,

I believe you can find my articles at my working site.

Here is the link. _