Book project

Book01は6枚のページから構成されています.それぞれのページはBook Shelf Masterのtitle, page A, page B, page Cから構成されています.

Book01 Master Layers, audacity/mp3
page1 title bg, title
Page2 pageA p2_Text1.txt, p2_Text1.mp3, Shape1, Shape2
Page3 pageB bg, Shape1
Page4 pageB bg, Shape1
Page5 pageA p5_Text1.txt, p5_Text1.mp3, Shape1, Shape2
Page6 pageC bg, gotoTOC, gotoTitle, gotoPreviousBook, gotoNextBook

例えば,page1 - title

  • bg layer
  • tile layer

例えば,page2 - page A

  • bg layer
  • Shape1
  • Shape2
  • p2_Text1.mp3
  • p2_Text1.txt

例えば,page6はpage Cを使用します

  • gotoTOC
  • gotoTitle
  • gotoNextBook
  • gotoPreviousBook

これらのページをパブリッシュします

mp3 と txt ファイル

page2とpage5は 読み上げ(sync audio&text)を使用します.以下のファイルはBookServerのcopy_booksスクリプトによって圧縮されます.ファイルをそれぞれのBook{Num}プロジェクトのrootフォルダーに置いてください

  • p2_Text1.mp3
  • p2_Text1.txt
  • p5_Text1.mp3
  • p5_Text1.txt

build4/model.jsonを編集

圧縮する前に,model.jsonはマスターのBookShelfEmbeddedプロジェクトのページに関連するように編集しなければいけません.alias変数を正しいものに設定してください

Before

[
{
    "page":1, "alias":"page1", "isTmplt":false,
        "bg":{ "x":960, "y":640, "width":1920, "height":1280, "alpha" :1 , "ext":"png" },
        "title":{ "x":501, "y":462, "width":755, "height":245, "alpha" :1 , "ext":"png" },
    },
{
    "page":2, "alias":"page2", "isTmplt":false,
        "bg":{ "x":960, "y":640, "width":1920, "height":1280, "alpha" :1 , "ext":"png" },
...

After

[
{
    "page":1, "alias":"title", "isTmplt":false,
        "bg":{ "x":960, "y":640, "width":1920, "height":1280, "alpha" :1 , "ext":"png" },
        "title":{ "x":501, "y":462, "width":755, "height":245, "alpha" :1 , "ext":"png" },
    },
{
    "page":2, "alias":"pageA", "isTmplt":false,
        "bg":{ "x":960, "y":640, "width":1920, "height":1280, "alpha" :1 , "ext":"png" },
        "Shape1":{ "x":1050, "y":1058, "width":240, "height":235, "alpha" :1 , "ext":"png" },
        "Shape2":{ "x":667, "y":388, "width":767, "height":505, "alpha" :1 , "ext":"png" },
        "Text1":{ "x":419, "y":1018, "width":600, "height":155, "alpha" :1 , "ext":"png" },
    },
{
    "page":3, "alias":"pageB", "isTmplt":false,
        "bg":{ "x":960, "y":640, "width":1920, "height":1280, "alpha" :1 , "ext":"png" },
        "Shape1":{ "x":960, "y":639, "width":462, "height":571, "alpha" :1 , "ext":"png" },
    },
{
    "page":4, "alias":"pageB", "isTmplt":false,
        "bg":{ "x":960, "y":640, "width":1920, "height":1280, "alpha" :1 , "ext":"png" },
        "Shape1":{ "x":961, "y":658, "width":587, "height":576, "alpha" :1 , "ext":"png" },
    },
{
    "page":5, "alias":"pageA", "isTmplt":false,
        "bg":{ "x":960, "y":640, "width":1920, "height":1280, "alpha" :1 , "ext":"png" },
        "Shape1":{ "x":470, "y":344, "width":418, "height":378, "alpha" :1 , "ext":"png" },
        "Shape2":{ "x":1189, "y":776, "width":683, "height":604, "alpha" :1 , "ext":"png" },
        "Text1":{ "x":419, "y":1018, "width":600, "height":155, "alpha" :1 , "ext":"png" },
    },
{
    "page":6, "alias":"pageC", "isTmplt":false,
        "bg":{ "x":960, "y":640, "width":1920, "height":1280, "alpha" :1 , "ext":"png" },
        "gotoPreviousBoo":{ "x":1401, "y":680, "width":874, "height":81, "alpha" :1 , "ext":"png" },
        "gotoNextBook":{ "x":1314, "y":303, "width":701, "height":81, "alpha" :1 , "ext":"png" },
        "gotoTitle":{ "x":590, "y":442, "width":652, "height":103, "alpha" :1 , "ext":"png" },
        "gotoTOC":{ "x":477, "y":166, "width":427, "height":78, "alpha" :1 , "ext":"png" },
    },
]

Book02

これと同様の手順をbook02のassets.zipでも行ってください

Book2 Master
page1 title bg, title
Page2 pageB bg, Shape1
Page3 pageC bg, gotoTOC, gotoTitle, gotoPreviousBook, gotoNextBook

results matching ""

    No results matching ""