Game Development Community

Posting score to leaderboard problem

by Joe O · in iTorque 2D · 03/30/2012 (6:27 pm) · 1 replies

I've done the whole game center setup but I'm having problems posting scores in the sandbox. Do they work? I'm going to try on the device when I'm home to see if there's a difference but as of now it's all been through the emulator.

submitScore( %score, "ZONE_" @ %zone );

I check that zone is valid (it's 1) and I've created a leaderboard for ZONE_1. When I showLeaderboards(); I see that it brings up the appropriate screen with my app but nothing else in the way of players or scores.

Thoughts?

#1
03/31/2012 (1:01 pm)
No issue here. Turns out I was using an older version of Xcode. Took some tweaking to get it all worked out but after using the right version of Xcode, it works in the simulator and on the device.