Increment an achievement by a given value (Google Play only).


GML Code Example

achievement_increment(ach_name, value)

Argument Description
name The name of the achievement.
value The value to be sent.

Returns: N/A


Google Play permit Android games to have achievements with no completion value and you can use this function to increment those achievement by a given amount.


GML Code Example

achievement_increment("ach_TotalScore", score);

The above code adds the current player score to the achievement "ach_TotalScore".

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here