Hi all,
I have my leaderboard working through the gamecenter library and I am wondering if there's a way I can upload my app's data to game center achievements as well in B4i?
I've attached my snippet of code for submitting just my leaderboard score, and wondering if there's something similar for achievements, along with a screenshot of my achievement setup in app connect and what it looks like on my app.
Thanks for any help!
I have my leaderboard working through the gamecenter library and I am wondering if there's a way I can upload my app's data to game center achievements as well in B4i?
I've attached my snippet of code for submitting just my leaderboard score, and wondering if there's something similar for achievements, along with a screenshot of my achievement setup in app connect and what it looks like on my app.
Thanks for any help!
Submit Leaderboard Score:
Dim score As GKScore
score.Initialize("coinsLeaderboardID")
score.Value = kvscache.Get("1")
Wait For (Game.SubmitScore(score)) GameCenter_ScoreSubmitted (Success As Boolean)