I'm just about to start adding Game Center to an app I'm creating and I'm curious whether I need to do anything special in terms of the Lua code to ensure that on Android the app doesn't try to reference anything it shouldn't. Or will Gideros just ignore anything for Gamekit on Android?
There doesn't seem to be any documentation still for Gamekit in the reference manual so I guess I'm going to have to pick together how to use it from what's already on the forums
Comments
also here's the few thread for game center integration
www.giderosmobile.com/forum/discussion/1932/game-center-example-code-for-leaderboards
www.giderosmobile.com/forum/discussion/comment/1538
1. Application:getDeviceInfo()
2. calling require "gamekit" with pcall:
Likes: phongtt
We use a Python script to prepare
Code (i.e. calling MCPP to preprocess source code; obfuscating code; etc.)
Data (i.e. parsing Excel file containing game texts and binarizing it; processing TMX [Tiled UI] data; etc.)
Project configuration (i.e. game name, xcode id, etc.)
Likes: moopf
since IOS 5 the default is the completion banner wont appear http://developer.apple.com/library/ios/documentation/GameKit/Reference/GKAchievement_Ref/Reference/Reference.html#//apple_ref/occ/instp/GKAchievement/showsCompletionBanner
To make it appear, fix it from the gamekit plugin (Plugins/gamekit.mm) on line 202
Likes: moopf, atilim
http://www.nightspade.com
Likes: SinisterSoft
i alao have played on some ios plugins for now, hopefully i could release them soon enough on GitHub
http://www.nightspade.com
I wonder how is the dispatchEvent implemented in C++, will it always run code of these listeners on a specific thread(the one that add these listeners, also the same as normal lua code runs in) or just run them on the thread that call dispatchEvent(if that case is true, we must make sure the lua code in the listeners is thread safe).
https://sites.google.com/site/xraystudiogame
There is an internal thread-safe event queue. Currently the only plugin that uses this queue is GoogleBilling. Later I'm planning to modify GameKit plugin to utilize this queue.
Likes: phongtt
http://www.nightspade.com
GameKit:reportAchievement(identifier, percentComplete,true)
I've just uploaded an update that adds GameCenter - but will cancel if it's not too far off...
https://deluxepixel.com
@Nascode You're totally right. Give me a couple of days.
Likes: SinisterSoft