Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!
|Import Statement:||import Felgo 3.0|
Purchases with VirtualPurchase type allow a lot more flexibility on the game's design in comparison to purchases with StorePurchase type: Instead of providing each in-game good as dedicated in-app purchase through the platform app stores you can introduce a virtual currency, which can then be used by your gamers to buy your in-game goods. This approach has a variety of advantages:
amount : real
The amount of the itemId you want to take off on every purchase with this purchase type. The amount can be seen as the virtual price of the enclosing good.
itemId : string
itemId references the virtual good or item, mostly of type Currency, with which you want to purchase the enclosing good. The property is mandatory.