Knowledgebase

Achievements


Overview
OpenFeint Achievements allow you to provide incentive to your players for completing alternative goals. For example, in a Hockey game, you might have an achievement for making a hat trick or winning a fight without taking any hits. When designing achievements for your title, think about what alternative objectives a player could have that require skill or effort. Achievements in OpenFeint have the following features:

  • An achievement is initially locked but can be unlocked one time by each player.
  • Each achievement awards a player with a set number of Feint points.
  • Each player has a Feint Score. It’s the sum of all her unlocked achievements.
  • A player’s Feint score is prominently displayed on her profile.
  • You can optionally customize the icon, name, description and score for every achievement in your game. We also provide a default icon for your achievements. Customized icons should be of size 44x44.
  • An achievement can be marked as “secret.” A secret achievement’s description and icon will be hidden from a player until he unlocks it.
  • Each title can have up to 100 achievements worth up to 1000 Feint score.
  • Achievements can be unlocked even when a player is offline.

Quick Start

  1. Create an achievement in the Developer Dashboard.
  2. Note its Unique Identifier.
  3. In your application, unlock the achievement using [OFAchievementService unlockAchievement:];

Note: that you may call this unlock function more than once. It will only have an affect the first time it is unlocked for a player.

Header Files

  • OFAchievementService.h
  • OFAchievement.h

Achievements Policy

Developers cannot create applications designed solely for the purpose of generating achievement points. OpenFeint reserves the right to disable achievements for applications that fall under this category. For additional information or clarification please contact developer support.