Description

Try my new Mobile Game Development Course 75% OFF!

EASY IAP FOR ANDROID

ALL CODE IS HEAVILY COMMENTED AND EXAMPLES ARE PROVIDED IN COMMENTS AS WELL

This is not designed for the Amazon store.

As for IOS I currently do not have a way to test on IOS so as of right now I am saying might be compatible with IOS. When I am able to test on IOS and know it works I will update. If you use this in IOS you will need to add a button that restores a users IAP they have made with the iap_restore_all() function.

The goal of this asset is make it easier for you the user to apply IAP for your Android or IOS games. There are 3 primary scripts in which this asset is made of.

scr_IapInit This is the script that will init your iap purchases instructions to add or remove purchases are provided in this script

scr_IapLoadPurchaseData This script loads weither or not the non consumable IAP has been purchased or not and loads ini values

scr_IapConsume this script runs in the iap event of the 3 buttons for purchases in this example and based on which purchase is made acts accordingly

IMPORTANT When using IAP you must go to global game settings go to IAP tab and enter your public id found in the google dev console open your app go to services and api and check enable IAP to add iap on google dev console you would go into your app go to in app products and add from there create your product ids Make sure you have all extensions for google installed to Gamemaker Studio. Almost all support e-mails I receive are related to this and solved by double checking the Google ext Extensions GooglePlayServicesExtension GooglePlayLicensingExtension and GooglePlayServicesIAPExtension are required. Make sure when testing your app you are NOT on your dev account.

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 2.0.0. Published October 16, 2016

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top