A Bookshelf Structure

A Bookshelf project loads the lua files and it downloads the image assets from BookServer


You can set animations or buttons in Kwik panel. These components generate the lua codes. A page context means an expected behavior of a page at the runtime defined by the lua codes.



function M:initPages(lang)
    if lang == "en" then
        self.TOC_PAGE = "views.page0".."2".."Scene"
        self.INFO_PAGE = "views.page0".."4".."Scene" 
    elseif lang == "jp" then
        self.TOC_PAGE = "views.page0".."3".."Scene"
        self.INFO_PAGE = "views.page0".."5".."Scene" 

M.episodes = {
    Spring  ={name = "Spring", dir = "Spring", numOfPages = 10, info = "", 
        versions ={ "en", "jp" }, isFree=true, isOnlineImg=false },
    Summer  ={name = "Summer", dir = "Summer", numOfPages = 10, info = "", 
        versions ={ "en", "jp" }, isFree=false, isOnlineImg=false },

Making components of Kwik

003-tocJp page uses 002-tocEn context. When 003-tocJp is loaded, it uses 002-tocEN codes with the images of 003-tocJp. 004-infoEn, 005-infoJp pages are automatically configured at the runtime with the store function of Kwik.

You implement each XXXEn project only. Bookshelf project loads XXXEn context(lua codes) with the images of selected language. So you don’t need to duplicate the work of XXXEn to XXXJp project.

.psd files of XXXEn and XXXJp should have same layer names

IsoboForest - TOC


see book_project.md