Game Development Reference
In-Depth Information
it to the UI to show it on the screen. The node can return two values; the first one
is a Boolean of either
True
or
False
with regard to the existence of the ID. The
other returned value is the result itself as a float value named
Progress
.
•
Get Cached Achievements Description
: With the achievement ID, you can start
using the data you've already fetched via
Cache Achievement Description
, per-
haps by sending it to the UI to show it on the screen. The node can return several
values, the first is a Boolean of either
True
or
False
with regard to the existen-
ce of the ID.
Get Cached Achievement Description
returns the achievement
name/title, so you can use it as a title for the achievement in your UI or in your
notification screen. It also returns the proper text to be used. In case the achieve-
ment is
Locked
or
Unlocked
, then you can display the correct ones based on the
player's current state.
•
Write Achievement Progress
: Whenever the player unlocks an achievement loc-
ally, you will need to save it to the online system you are using. This node allows
you to do this by adding a name/ID to the achievement to be used to fetch it in
later sessions. You also need to input a value for it. The same inputs are returned
after finishing to ensure that it was sent to its correct place with its correct value.
•
Show Platform Specific Achievements Screen
: If you want to have an
Achieve-
ments
button in your game that aims to open the Game Center achievements
Search WWH ::
Custom Search