Game Development Reference
In-Depth Information
•
Event Touch Leave
: This is an event by actor, which means it gets executed
when the actor holding it in its graph gets
a touch moved over it and left
while
click events are enabled.
•
Write Leaderboard Integer
: This allows you to write a leaderboard integer
value for a state name and submit it. It requires a player controller (which is the
current class used by the player to control and navigate), a state name (which is a
representation of the leaderboard value on the game center), and the value of this
state. This returns just one value: either
true
or
false
indicating the successful
or otherwise completion of the process.
•
Read Leaderboard Integer
: This queries for the value of an integer (
Stat
Name
). This function requires two inputs: the stat name and the player controller.
It can succeed and return the integer value to you as a
Leaderboard Value
, or it
can fail for some reason, such as no connection to the Internet.
•
Flush Leaderboards
: As its name implies, this flushes the leaderboard values in-
to the database. This requires the player controller as the input, as all other online
services do, and the session name which is the same as
State Name
too.
Search WWH ::
Custom Search