Hello, I see it’s been a while since this post started but I decided to use GGGameCentre on my new apps and I ran into the same exact problem as cyberparkstudios “I am also trying to use the code from GlitchGames to implement GameCenter. It does seem fairly straight forward, yet when I test it on my Ipad, I only get a small icon at the top ‘welcoming’ me back to game center. No leader board shows etc…”
Basically in sandbox mode it welcomes me (logged in) and everything works fine but when I click my gamecenter button no leaderboard ect not even my name and score. So I thought maybe it was because of sandbox mode and once it went live and multiple people play and save scores it should work fine. So my apps were recently approved and it seem to fix 1/2 of the problem. Now when I click on GameCenter button it shows a leaderboard and achievement tab but both are empty. I have no achievements in GameCenter in my app so that’s ok but when I click on leaderboard it say’s No Scores and I can’t see my name and my score either. Any ideas or help will be greatly appreciated!
My ITC side of things works fine I set up a leaderboard ect and the exact same ID (“com.SM.Leaderboard”) is what I use to setHighScore.
The App been live for a bit over 2 days and has been downloaded quite a few times so I know there must be multiple player to show scores.
This are both apps, they are completely free if you want to try it and see if GameCenter works for you
iPhone/Stoplight Madness: View on App Store
iPhone/Math Mirror: View on App Store
PS: My code is set up like this… Thank’s for any help!!!
local GGGameCentre = require( “GGGameCentre” )
local gameCentre = GGGameCentre:new()
– I call setHighScore when player sets a new high score
gameCentre:setHighScore( “com.SM.Leaderboard”, highscore )
–I call showLeaderboards when player clicks on Game Center button
gameCentre:showLeaderboards()