O'Reilly logo

Learning Windows 8 Game Development by Michael Quandt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

In-app purchases

The popular option for mobile games these days is the in-app purchase. This is a product that can be bought inside the game that can exist perpetually or be consumed and repurchased, unlocking or providing whatever you want.

You will begin by creating products in the store dashboard. Here you have to define the price and expiry time for the product. When the player buys the product, it is active for the amount of time you specify, which could be forever if you choose that option. Take note of the IDs at this point as we will use those later.

In-app purchases

A consumable is a product that the users can buy as many times as they want. It gets the name ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required