|
Post by favfly on Jan 30, 2020 14:02:59 GMT
Hi,
EndlessBook looks great, easily the best looking page turning book on the asset store.
Could you let me know if it would be suitable for making a Choose Your Own Path style adventure book?
1. Are users able to change font sizes (theoretically spreading text over more pages)?
2. Are users able to click on links on a page (e.g. choices of which landing page to go to next, or to trigger a mini-game / dice-roll)?
3. Can page turn be switched off for any given page (so as not to enable users to read beyond a page where they have to make a choice)?
Thanks in advance.
|
|
|
Post by echo17 on Jan 31, 2020 13:15:36 GMT
Thanks for the kind words. A choose your own path adventure book seems like a great use for EndlessBook. I would love to see someone implement this. The short answer to all your questions is yes, but it will require some coding. Here are more detailed responses: 1. Are users able to change font sizes (theoretically spreading text over more pages)? EndlessBook uses materials for pages. So the text is not dynamic and will need to be "baked" into your page textures that are in the material. You could theoretically position a UI label above the book, but it would not be able to turn with the pages. Alternatively, you could render a UI layout in a separate camera to a render texture and then project that render image to the book page material. That seems like a lot of work, but it would allow dynamic text that way. 2. Are users able to click on links on a page (e.g. choices of which landing page to go to next, or to trigger a mini-game / dice-roll)? Yes, you can have areas of clicking. This can be accomplished in one of two ways: 1) A collider hovers above the book pages and receives clicks. You would need a group of colliders for every page that needs them, toggle their active state based on which page you are on. This would require some coding and does not come as part of the asset. 2) Clicks on a page can be raycast into a scene to determine where the clicks occurred and if they intersect any objects. This would actually go well with the dynamic text UI setup I discussed in your first question. The demo actually uses this method in the table of contents page where it determines which section you have clicked on in a rendered scene and then turns to that page. Check out the demo here: link3. Can page turn be switched off for any given page (so as not to enable users to read beyond a page where they have to make a choice)? Page turning is not actually on by default. Turning pages is controlled through code, so you can choose when to call these functions based on your game's logic.
|
|
|
Post by favfly on Feb 3, 2020 7:20:55 GMT
Thanks for the quick response. I'll do some tests and see how I go.
|
|