问题
I am making the planifiacion of a game for android and some research. But i get stuck when i have to deal with the Virtual Currency (actually i dont know if this is what i need).
The user need to be able to purchase some virtual currency (in my case beans) and with those beans purchase upgrades or whatever he wants or needs.
I see that Facebook supports this right away with his API, but Google Play (altough they dont explain how to do it) appears to not support this functionallity.
how do i accomplish this with the Google Play API?
regards!
回答1:
What you are looking for is actually covered by the standard Android In-App Billing APIs, rather than Google Play Games specifically. A virtual currency is a type of 'Consumable In-App Purchase'. You can find out more information on these types of purchases by going to the official documentation here.
来源:https://stackoverflow.com/questions/26024268/android-in-app-and-virtual-currency