TOC

Book’s Table Of Content

Project Properties

Book Shelf Type

Monetization > In-App Purchase

Firstly at 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 * Num Of Pages: 6 * Description: book’s short description * Versions: book’s version like “jp”, “en”, “sp”

for instance, 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


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.