Toc & Info Pages

TOC & Info


Project Properties

Book Shelf Type

Monetization

Please set product name and ID from In-App Purchase from Monetization tab. For instance, Episode02 pages are p4-p5, startPageNum is 4 and numOfPages is 2 and the information page is p3 so that infoPage is 3

Firstly at In-App Purchase panel, choose unlock Bookshef Page and then clock + icon to add a new product

It opens the add new product window

With debug mode with these dummy ID, you can test your app with Corona simulator. iap_badger library performs faking purchase with debug mode.

You must edit to set valid product IDs of apple, google and amazon when building for final app.


Shelf.psd

Need to create the following layers with the same names given exactly because store/UI.lua references each layer name by the name, don't use another name of your own

Episodes defined in IAP table of project properties need the icon layers for the thumbnail. For example, Episode01, 02, 03 are defined, please create the following icon layers

Need to create an action from Project and Pages > Action. This action tells the episodes to be purchased.


ep02_info.psd

Need to create an action from Project and Pages > Action

Need to create the following layers with the same names below because store/UI.lua references to each layer by name.