Adding achievements

As leaderboards and achievements used to be discussed together as one topic, Epic has done their best to make the Achievements process similar to the Leaderboard process, which is as follows:

  1. Use the Write Achievement Progress node.
  2. Assign a value for Achievement Name, which represents the ID in iTunes Connect.
  3. Pass a Progress value to it if it is a progression achievement.
  4. You don't have to use a user tag, but this value will be returned anyway on success and on failure.
    Adding achievements

You can also use a similar node on the leaderboards to display the Game Center achievements screen by calling Show Platform Specific Achievements Screen. This too is named Specific as it is used with Android to show the Google Play Achievements screen.

Adding achievements

As leaderboards have the functionality to download the progress and get its values, achievements have similar functionality too. However, as an achievement has a progress and description and not just progress (unlike the leaderboard), achievements have four nodes. The Cache Achievement node and the Cache Achievement Description node both download and cache (save on the device) the achievement progress and description. So, if the player has no Internet connection and still wants to display the achievements, they still have a chance to display it offline with caching.

Adding achievements

The Get Cached Achievement Progress and Get Cached Achievement Description nodes get the downloaded values and start using them.

Adding achievements
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.184.200