pocketchange_display_reward

Display the Pocket Change reward screen.

Syntax:

GML Code Example

pocketchange_display_reward();


Returns: N/A


Description

Calling this function will open the Pocket Change app on the Shop page. If the user does not have the app installed, it will instead open the Google Play store on the Pocket Change app page and invite the user to download the app.


Example:

GML Code Example

if mouse_check_button_pressed(mb_left)
    {
    pocketchange_display_reward();
    }
 

The above code will check for a mouse button press and if one is detected, it will open the Pocket Change app on the rewards screen.





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