To create your own
interactive book, simply create book.txt file.
Its recommended to use UTF-8 character encoding.
Tabs (paragraphs) and line breaks are normally supported.
Text will be automaticly justified and divided into pages.
If line before last contains only line break or last line contains tab, it will be moved to next
page.
To force next chapter or want to move content into next page, simply use double only line
breaks.
To use images, create bookimages.txt file with list of image names (with extensions, each one per
line).
To use images between text, do line break and use image number between | characters (|1| will
display first image from bookimages.txt list).
Maximum image size is 166x228 (bigger ones will not be displayed) and each 13.5 pixel height will
take new line from text.
Used images will be automaticly centered and aligned to bottom.
Nice look can be achived by using black and transparent png images.
Copy all files (book.txt if its only text, and bookimages.txt with image files if used) to assets
in create mode (its small folder icon), click apply button and stay on product to see your
work.
How huge can be a book?
40.000 lines or 800.000 characters (800 kB txt file) takes up to 15 seconds to load.
*** book.txt (fragment from example) ***
"BOOK"
Souce: wikipedia
|1|
A book is a set of written, printed, illustrated, or blank sheets, made of ink, paper,
parchment, or other materials, usually fastened together to hinge at one side. A single sheet
within a book is called a leaf, and each side of a leaf is called a page. A book produced in
electronic format is known as an electronic book (e-book).
*** bookimages.txt (example) ***
openbook.png
scroll.png
manuscript.png |