User Tag List

Results 1 to 9 of 9

Thread: Gamecenter Achievements Object [Missing Function]

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Gamecenter Achievements Object [Missing Function]

    The Gamecenter Achievement Object is missing a function to clear the achievement list.

    It's not possible to just set an achievement to 0% so we need a action to use the built-in method.

    You can read about it here:
    http://developer.apple.com/library/i...ievements.html

    I was able to clear the list by replacing one of the existing actions with this list of code:

    [GKAchievement resetAchievementsWithCompletionHandler:^(NSError *error){}];

    It works perfectly using the above, but it would be nice if this was part of the object.

    Thanks!

    EDIT:

    Here is the full code from the apple dev guide:

    - (void) resetAchievements
    {

    // Clear all locally saved achievement objects.
    achievementsDictionary = [[NSMutableDictionary alloc] init];

    // Clear all progress saved on Game Center.
    [GKAchievement resetAchievementsWithCompletionHandler:^(NSError *error)
    {
    if (error != nil)
    // handle the error.
    }];
    }

  2. #2
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    I second this (request in March 2012). For whatever reason a player may want to reset his Achievements. Thank you UrbanMonk for posting a workaround.

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    They may want to reset their progress if the app's internal save data gets reset. Depending on how you sync your achievements with Gamecenter this could come in handy in other cases too.

  4. #4
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    Anders, could this function be implemented in the next update please?

  5. #5
    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,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Does anyone know if resetting will cause you to lose the GC points you earned? Or is this a way to farm points if you add it to your app? I would like the reset feature for development, but just wondered if it would have consequences in the player's hands.

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I think points are reset. I didn't think anyone cared about them though!

  7. #7
    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,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Just like Gamerscore on Xboxlive, you have to assume someone cares about them.

  8. #8
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    I need this feature, be it only for easier testing on the device/simulator. Is this being worked on?

  9. #9
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    I'll ask Francois if it is possible for him to add this action.

Similar Threads

  1. Function Eggtimer problem // Power Function for MMF2 Android?
    By ogrgkyle in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th May 2013, 03:17 AM
  2. GameCenter Achievement Object Bug (and fix) [beta 8]
    By UrbanMonk in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 14th May 2013, 11:43 AM
  3. [REQ] Game Center Achievements Object
    By Olivier in forum iOS Export Module Version 2.0
    Replies: 9
    Last Post: 19th April 2013, 04:58 PM
  4. FTP Object, something is missing.
    By Patrick in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 11th August 2007, 04:38 PM
  5. Browser object missing...
    By Patrick in forum Extension Development
    Replies: 27
    Last Post: 21st July 2006, 05:00 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
  •