imaginemachine Posted January 18, 2016 Share Posted January 18, 2016 What is the best practice ? I have only one in app purchase that needs to be implemented. Thank you Link to comment Share on other sites More sharing options...
s4m_ur4i Posted January 19, 2016 Share Posted January 19, 2016 It depends on what framework, wrapper you are using. You have to use the API that's given through this software and implement it in phaser. There are a few softwares out which offer you the ability to use IAP. It also depends on which platform you would use them, iOS, Android, Steam, you have not given much information:http://www.joshmorony.com/creating-a-shop-with-purchasable-items-in-a-phaser-game/http://www.joshmorony.com/how-to-create-ios-in-app-purchases-with-phonegap-build/https://software.intel.com/en-us/xdk/docs/html5-hybrid-apps-with-cordova-and-in-app-purchasehttp://lexandera.com/2009/01/injecting-javascript-into-a-webview/ there are a few services out there , normally you would use an API and inject it into your webview container application. It is possible, but not as easy as copy / paste Regards Link to comment Share on other sites More sharing options...
WombatTurkey Posted January 19, 2016 Share Posted January 19, 2016 Phaser is really irrelevant here. Just add the shop overlay to the dom. And use any type of shop script you feel comfortable with, or as SamTheMighty has suggested, JoshMorony's guide is custom and fit's those needs. Link to comment Share on other sites More sharing options...
Recommended Posts