Game Center for all platforms

Hi,

I have a game that running on all platforms (iOS, Android, Windows Phone and on the beta platform as well: Windows and OS X).

I want to developoe a “High Score” mechanizem. 

  1. Is there a one code that I can use for all or should I need differnet code for each platform ?

  2. Assuming that I will need to develope different code for each platform I have found solution only for iOS (Game Center ) and for Andoid (Google Play Center) - What about the other platform ?

Thanks 

   Yuval

Even though Corona tries to simplify with the gameNetwork (https://docs.coronalabs.com/daily/api/library/gameNetwork/index.html) I usually find it easier to use my own server or a 3rd party (Parse or anything similar) that can also store my own data.

Having your own server or your own access to a database just makes it so much easier for future expansions as well.

Also read this: https://forums.coronalabs.com/topic/59127-linking-ios-app-with-google-play-services/

As of today, Apple Game Center is supported for iOS only. We do not support it for OS-X, though Enterprise subscribers could build their own variant. At some point in the future, we might provide this for OS-X builds, but it’s not a high priority at the moment.

Google Play Game Services is currently only available for Android devices that support Google Play.  There is an Amazon Game Circle plugin for supporting that service on Android devices too.

We offer no out of the box services for Windows Phone 8 or Windows x86 Desktop support. In fact I don’t know of a Microsoft service for this.

So your options:

  1. Support Game Center for iOS, GPGS for Google Android and Game Circle for Amazon and don’t provide it for desktop and Windows 8. 

  2. Use a 3rd party service like Parse.com or Coronium.io where you can in a cross platform offer this and have all your platforms share the same data.

  3. Build your own. If you have a web hosting service that you can write PHP scripts for and have MySQL database instances, you can easily (well if you know PHP and MySQL) do a very simple score fetching and score setting script and use network.request() to do the work.

Rob

Even though Corona tries to simplify with the gameNetwork (https://docs.coronalabs.com/daily/api/library/gameNetwork/index.html) I usually find it easier to use my own server or a 3rd party (Parse or anything similar) that can also store my own data.

Having your own server or your own access to a database just makes it so much easier for future expansions as well.

Also read this: https://forums.coronalabs.com/topic/59127-linking-ios-app-with-google-play-services/

As of today, Apple Game Center is supported for iOS only. We do not support it for OS-X, though Enterprise subscribers could build their own variant. At some point in the future, we might provide this for OS-X builds, but it’s not a high priority at the moment.

Google Play Game Services is currently only available for Android devices that support Google Play.  There is an Amazon Game Circle plugin for supporting that service on Android devices too.

We offer no out of the box services for Windows Phone 8 or Windows x86 Desktop support. In fact I don’t know of a Microsoft service for this.

So your options:

  1. Support Game Center for iOS, GPGS for Google Android and Game Circle for Amazon and don’t provide it for desktop and Windows 8. 

  2. Use a 3rd party service like Parse.com or Coronium.io where you can in a cross platform offer this and have all your platforms share the same data.

  3. Build your own. If you have a web hosting service that you can write PHP scripts for and have MySQL database instances, you can easily (well if you know PHP and MySQL) do a very simple score fetching and score setting script and use network.request() to do the work.

Rob