08 October 2014
Game Center moved to a plugin
Starting in Corona SDK build 2014.2455, Game Center (iOS) has been moved to a plugin. This means that you will need to include the plugin in your build.settings
file. In practice, this means that your build.settings
file should include the following within the plugins
table:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
settings = { plugins = { ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, }, }, }, } |
Documentation
Once you’ve included the plugin, implementing Game Center is accomplished via the same methods as before. Please refer to the documentation for details.
Harry Tran
Posted at 19:15h, 08 OctoberJust out of curiosity does that mean that apps built before that (2455, currently using 2393a) need to be converted in order for the game center to work, or if I don’t plan to update those apps in the future this only applies to apps created after I switch over to build 2455?
Danny Chan
Posted at 09:00h, 09 OctoberThis only applies with apps built with 2455 and later. If you’re using 2393a then this doesn’t affect you.
Scott
Posted at 19:31h, 08 OctoberHi
I am using glitch games library for game center. Can I just include the plugin in the build setting to keep the gg gamecenter library working?
Scott
Danny Chan
Posted at 09:02h, 09 OctoberI don’t know what the glitch games library is but all you should need to do is include the plugin in your build.settings file.
Graham Ranson
Posted at 02:46h, 10 OctoberHey Scott, Graham here from Glitch. In theory that should be fine but please let me know how it goes!
Steve
Posted at 22:30h, 09 OctoberAny chance of Corona updating to the newest Gamecenter so as to have both turn based and real time multiplayer?
Danny Chan
Posted at 11:35h, 10 OctoberIts on our list of things to do but no eta.
Jack227
Posted at 10:46h, 10 OctoberWhen can we expect the same done for Enterprise? There is no way to use ios leaderboards in latest Enterprise builds!!!
Here is the forum topic: http://forums.coronalabs.com/topic/35641-game-center-broken-in-build-20131125-2013523/
Amrina
Posted at 02:21h, 21 OctoberHi,
I am using Game Center only, How can i know brief details about Game Center moved to a plugin??
Antheor
Posted at 08:40h, 20 FebruaryThe only tutorials I find on GameCenter are 3 years old. Could you update that ?
Searching in forums leads to tons of errors post, a complete tuto including things to do on Apple settings would be cool.