User Tag List

Results 1 to 9 of 9

Thread: Working with multiple Leaderboards

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,264
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    Working with multiple Leaderboards

    I have a set of actions in a single event line:

    +User Clicks on Button
    +Local Player is authenticated
    -(GC Leaderboard)Set Identifier to "Leaderboard01"
    -(GC Leaderboard)Send Score01 to server
    -(GC Leaderboard)Set Identifier to "Leaderboard02"
    -(GC Leaderboard)Send Score02 to server
    -(GC Leaderboard)Set Identifier to "Leaderboard03"
    -(GC Leaderboard)Send Score03 to server
    -Get Scores and names from server
    -Display default leaderboard

    What I am trying to do is always send all 3 scores to all 3 leaderboards whenever a button is pressed. But it seems as though only the last score is being sent to the last leaderboard. Is there a way to send all 3 scores at once? Also, when the Leaderboard opens, is there a way to default the view to look at the leaderboard selection screen instead of the last leaderboard that was set?

    Thanks in advance,

    Mobichan

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    You should not send all the scores in the same actions, as it takes some time for the score to reach the server. You should do :

    - Local player is identified
    + Send Score0
    + Set counter to 1

    - Scores have been send
    - Counter =1
    + Send score1
    + Set counter to 2

    - Scores have been send
    - Counter =2
    + Send score2
    + Set counter to 3

    etc.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,264
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    I want this to operate from a button press. Should I disable the button after the first press to avoid any interruption of the 3 different actions?

    Also, in regards to the second question, how do I make the Leaderboard selector the default screen that appears when it opens the leaderboard?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I dont understand what you mean by "selection screen"... If it a frame of yours, or Apple's (never done multiple leaderboards)

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Mar 2010
    Location
    Lier, Norway
    Posts
    276
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Francois View Post
    I dont understand what you mean by "selection screen"... If it a frame of yours, or Apple's (never done multiple leaderboards)
    bilde-2.jpgbilde-2 kopi.jpg

    If you have more than one leaderboard, a "leaderboards" button will appear in the upper left corner.
    It's the list of leaderbords you mean, right?

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,264
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    Aasland is correct. I am referring to the Leaderboard selector screen in the GC Leaderboard. I currently have 3 leaderboards for my game, but it seems to open up the last one accessed when I call the leaderboard. Is this something that can be added to the exporter if it doesn't already exist?

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I dont remember seeing anything in the doc about multiple leaderboards, but you might have more chance than me :
    http://developer.apple.com/library/i...roduction.html

  8. #8
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    2,995
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    The Game Kit Programming Guide refers to multiple leaderboards in Leaderboards > Configuring a Leaderboard on iTunes Connect > Leaderboard Categories. As you see this is done in iTunes Connect, and from the programming point of view I believe that there is nothing more to do.
    As for displaying the list of Leaderboards like mobichan wishes to do (screenshot #2 above), I don't think that it is possible. At least it is not documented in the GKP Guide.

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,264
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    As I I look at other games, it seems they just default back to the first Leaderboard in the list. It is unfortunate, but I guess there is no way currently to do what I am hoping to. Thanks for the info.

    Mobichan

Similar Threads

  1. iOS - Game Center Leaderboards Tutorial
    By Verbage in forum Guides, Tutorials, Examples, Widgets
    Replies: 8
    Last Post: 27th March 2015, 04:06 PM
  2. Problem to make work GameCenter with Multiple Leaderboards
    By paobrasil in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 3rd March 2013, 01:58 AM
  3. Sending formatted time scores to GC Leaderboards
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 17th February 2013, 06:04 PM
  4. Multiple developers working in MMF2 at the same time on the same project?
    By RedHades in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 6th February 2012, 03:14 PM
  5. Multiple backround layers not working :(
    By Zenoff64 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th November 2007, 09:40 PM

Posting Permissions

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