brainCloud’s Gamification features provide server-side support common metagame elements, including:
- Experience Points (XP) and Levels
- Stats Events
These features build upon the Statistics APIs and a concept of Player Rewards.
brainCloud provides an ability to reward players for completing meta-goals: leveling up, completing a milestone and/or completing quests (coming soon!). Rewards can consist of:
- Experience Points
- User Statistics
- Global Statistics
brainCloud can manage experience points (XP) and levels, and reward the player for leveling up.
Achievements can be triggered manually, or as the result of player rewards. Achievements can be datafilled with the ids for platform achievements (on iOS, Steam, etc.) so that they may automatically be triggered in sync with brainCloud achievements.
Achievements can be awarded directly using the AwardAchievements() API. There are also API calls for retrieving the full list of achievements, and the list of achievements that have already been awarded for the player.
Milestones are used to define conditions under which rewards are to be delivered. Milestones must first be unlocked before they can be completed and then awarded.
Quests are essentially compound Milestones. The completion status of the Quest is derived from the completion status of the Milestones (Tasks) that it is composed of.
Stats Events are essentially Stats Macros. The Macro is defined on the server, and triggered by id from the client.
For the same flexibility, but controlled directly from the client, try using the ProcessStatistics() API.