TOC

Book's Table Of Content

Project Properties

Book Shelf Type


Monetization > In-App Purchase

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

It opens the add new product window

Add book names with the following rule for ID

for instance, the downlodable book01 consists of 6 pages and the description “book01 information test”. This description will be used in INFO page


Shelf page

Icons

{book name}Icon layer will load {book name}‘s thumbnail image and purchase/saving/saved/download buttons are attached dynamically when the app runs.

for instance, book01 and book02 are registered in In-App Purchase table in Project properties, book01Icon and book02Icon are created.


Buttons

Need to create the following layers with the names because store/UI.lua references each layer name by the name, don't use another name of your own. The interactions are automatically attached by store/UI.lua


Restore

create restoreBtn layer. The interactions are automatically attached by store/UI.lua


Action - act_buy

Add Buy Product actions for your items. From Actions tool, select Monetization > Buy Product.

this tells which products should be purchased from the {book name}Icon.


INFO page

the following layers are created. The interactions are automatically attached by store/UI.lua


text replacement

infoTxt layer needs to be text replacement.