User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: Question for Clickteam: Expanding the capabilities of Game Center Leaderboard Object

  1. #11
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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?

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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".

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Game Center and Leaderboard Tutorial
    By Keith in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 19th September 2012, 02:54 PM
  2. Game Center combined/aggregate leaderboard
    By Olivier in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 23rd July 2012, 03:14 PM
  3. Game Center Leaderboard issue
    By xhedgehogx in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 9th April 2012, 07:41 AM
  4. Game Center Leaderboard
    By Captain_Harris in forum iOS Export Module Version 2.0
    Replies: 20
    Last Post: 14th March 2012, 12:56 PM
  5. Game Center Leaderboard
    By K1kk0z90 in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 24th November 2011, 06:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •