Skip to main content

Configuring hidden achievements

Last updated on October 24, 2024

Overview

The AccelByte Gaming Services (AGS) Achievements service allows you to create hidden achievement configurations. A hidden achievement is an achievement that is not shown to the player when they are locked. They are typically kept as a secret and not revealed to the player until they are unlocked.

In this guide, you will learn how to utilize the visibility option to configure hidden achievements.

Light Fantastic

Goals

  • Provide an understanding and overview about achievement configurations.
  • Provide an understanding of how to utilize visibility options in the achievement configurations for hidden achievements.

Prerequisites

  • Access to the AGS Admin Portal.
  • Access to AccelByte Achievement API documentation.
  • Access to the AccelByte Statistics API to configure the required information (optional).

Configure hidden achievements

To allow you to flexibly choose whether this achievement will be incremental or non-incremental, a hidden achievement is not dependent on the user statistic tracking. If you choose incremental, you can follow the guide for tracking global statistics to set up a statistic configuration to store the attribute you want to track.

You can set up an achievement configuration from the AGS Admin Portal by following the steps below:

  1. On the Admin Portal sidebar, go to Engagement > Achievements > Configuration.

    Achievements page

  2. On the Achievements page, click on the Add Achievement button.

    AGS Admin Portal click add achievements

  3. On the Add New Achievements form, fill in the required information:

  4. Fill in the Code field with information in the allowed format (e.g., hero-collector), as well as the achievement Name to make it easier for you to identify the achievement in the future. You are also required to fill in the Description to provide extra information about the achievement you created.

    Add New Achievements form

  5. Check the Incremental box for an incremental achievement, or leave the box unchecked for a non-incremental achievement. If you're creating an incremental achievement, input the Goal Value and a Statcode of the statistic associated with this achievement.

  6. For Hidden Achievement, you need to make sure the Visibility is set to Hidden

    Select Achievement Menu Visibility

  7. You are also required to add an image for the Locked Icon. This will be displayed for players who do not have this achievement yet.

  8. Add an Unlocked Icon, which will display when the achievement is unlocked.

  9. There are also optional fields that you can use such as Tags and Custom Attributes to store additional information for your achievement.

    New achievement optional fields

  10. Click Add. The new achievement is added to the achievements list.

Next steps

After setting up hidden achievements, you can start integrating them into your game. Refer to the following articles:

The Achievements service also supports configuring progressive achievements and global achievements.