-
Just a bump for this topic. I am currently looking for a way to display a player's game center friends and their scores in a custom leaderboard and came across the lack of additional options in the Game Center object :(
Any news?
-
For anyone wondering, I managed to limit the scores the leaderboard was grabbing to Game Center friends only, by modifying the source of the CRunGameCenterConnect.m file in XCode.
Code:
-(void)getScores:(NSString*)category timeScope:(int)timeScope range:(NSRange)range
{
GKLeaderboard* leaderboardRequest=[[GKLeaderboard alloc] init];
if (leaderboardRequest!=nil)
{
leaderboardRequest.playerScope=GKLeaderboardPlayerScopeGlobal;
switch(timeScope)
{
Change the part in bold to FriendsOnly on line 339.
Edit - To clarify, the bold part in the code is the word "Global".