In Flock, an achievement is a kind of config/template — defined alongside your
game config and player templates — that
auto-generates a player data entry to track each player’s progress. You don’t call a separate
achievements API: you configure the achievement, and Flock provisions the matching
player data for you to read and update.
Define achievements on the Achievement Config page — this is the source of truth. Each
achievement becomes part of your game config and player templates, and Flock creates a player
data entry to hold progress. Because an achievement is config-plus-player-data, you work with it through SDK surfaces you
already use — there’s no separate achievements call:
- Read the definitions from your game config (see Remote Config).
- Read and update progress through the auto-generated player data entry (see
Player Data).
Achievements are configured, not coded. Define them on the Achievement Config page; the SDK
then surfaces them through game config and player data.