Game Development Community

iT2D 1.5 BUG - Game Center documentation issues

by Conor O'Kane · in iTorque 2D · 12/22/2011 (8:02 pm) · 2 replies

First issue is in the docs for Game Center it says this is how you submit a Game Center leaderboard score:

%success = reportGameCenterScore(100, "BEGINNER_BOARD");

However the console function is actually called submitScore not reportGameCenterScore.

Secondly, the actual function doing the submission doesn't return anything, so there's no point in trying to catch it with %success. It does printf to the console if it is successful anyway.

#1
07/08/2012 (11:49 pm)
This caught me out again when I copied and pasted from the documentation. The submitScore function still hasn't been updated.
#2
09/20/2012 (11:40 pm)
I've got the same problem, too. I thought the engine supports the game center very well, it seems I was wrong.