intfiction.org

The Interactive Fiction Community Forum
It is currently Tue Nov 20, 2018 1:43 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Jan 14, 2018 10:08 am 
Offline

Joined: Sun Jan 07, 2018 12:58 pm
Posts: 28
I want to make a book that when you read it, it will display a menu of its contents. Pretty much like talking to people with the Quip-Based Conversation by Michael Martin, but instead, you'll be reading the book. If someone can give me an example, that would be great.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Jan 14, 2018 2:17 pm 
Offline
User avatar

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2763
Location: US - Central
I know people like Quip-Based Conversation, but I'm partial to "Hybrid Choices" by AW Freyr. It provides a lot of hooks to control the game world via the choice menus it creates. I used it extensively in Fair if you want to see it in action.
http://ifarchive.jmac.org/if-archive/ga ... /play.html

The syntax is like this:
Code:
Instead of reading Complete Book of Pages:
    switch to CYOA at table-of-contents.

table-of-contents is a page. It flips to toc-menu.
"This is the table of contents for the Complete Book of Pages."

toc-menu is a page. It is for a-page. It is for b-page.

a-page is a page. The cdesc is "Turn to the A section of pages." it is for toc-menu.
"This page defines words like aardvark, advance, aether, and apocamorphosis."

aardvark-page is a page. It is for a-page. It is a dead end. The cdesc is "Read about aardvarks.".
"You read in great detail about the curious habits and biology of aardvarks."

advance-page is a page. It is for a-page. It is a dead end. The cdesc is "Read about advancing.".
"This page tells you all you want to know about advancing...the verb."

[etc...]

b-page is a page. The cdesc is "Turn to the B section of pages." it is for toc-menu.
"This page defines words like bastion, butter, bismuth, and ballerina."

bastion-page is a page. it is a dead end. it is for b-page. The cdesc is "Read all about the game Bastion.".
"What a wonderful independent game, and how about that narrator?"

[etc..]

closebook is a page. It is an end-page. It is for toc-menu. The cdesc is "Close the book.".
"You close the book, feeling satisfied about the knowledge you've gained."

_________________
http://hanonondricek.wixsite.com/pyramidif
https://pyramidif.itch.io/


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Jan 14, 2018 6:02 pm 
Offline

Joined: Sun Jan 07, 2018 12:58 pm
Posts: 28
Thanks, HanonO. That is what I was looking for. I'm going to use the Hybrid Choices now.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group