Skip to main content
Participating Frequently
September 28, 2023
Question

Best method to create a choose your own adventure styled document

  • September 28, 2023
  • 3 replies
  • 2906 views

Hi!

I am working on a project which used the choose your own adventure style of narration, so each paragraph has a number which gets referenced several times.

Because I need the agility to move paragraphs around and shuffling them through the book, if I did it with plain text, what would happen is that you'd fin on page 1, a paragraph with the title "60" for example, because I ahve moved it from a page much further along. Yes, I could change the title from "60" to "2" for example, but then all of the texts everywhere in the book which referenced "60" would be wrong and the reader would be unable to complete the story.

 

My solution is creating variables, so I crea a number of variables equal to the numbers of paragraphs, so if there are 120 paragraphs there will be 120 variables, and whenever I switch things around, I only need to change the variable number once, and all of the instance of that number gets changed everywhere I placed in the document.

 

Is this the best way of doing it or is it over engineering? Without a proper dockable Variable panel this task feels extremely klunky and slow.

Do you think there is a better solution or am I doing something wrong?

 

Cheers!

This topic has been closed for replies.

3 replies

Robert at ID-Tasker
Legend
September 29, 2023

How about Bookmarks and Cross-References? 

 

ArtcakeAuthor
Participating Frequently
September 29, 2023

I do not believe I have used any of t hem, before I do some extended research into those, would you kindly explain very roughly how both function? Thanks!

Robert at ID-Tasker
Legend
September 29, 2023

In short - Bookmark is a "destination" and Cross-References is a "source" that makes a dynamic reference to the Bookmark. 

 

rayek.elfin
Legend
September 29, 2023

Just to be on the same page here: this is meant to be published digitally? Not on paper?

ArtcakeAuthor
Participating Frequently
September 29, 2023

This is a physical booklet aid which will be used for a table top game.

James Gifford—NitroPress
Legend
September 29, 2023

Oh, never mind my answer, then; I ass/u/med this was to be a digital doc of some sort. As Robert T notes, the cross-refs feature is probably your best friend here. I'd suggest a training course or some fairly deep study so you can master its power (and pitfalls) to your best advantage.

James Gifford—NitroPress
Legend
September 28, 2023

I'm not sure there is any canned, out-of-the-box tech that will do this — easily and well, at least. It would take custom coding in Javascript or the like, an actual "app" in which the content pieces were secondary to the overall structure.

 

It could, however, be done in HTML with little or no scripting/coding, although a little, through PHP or the like, would make it easier to shuffle name and page and segment variables.

 

I'm not saying it couldn't be done via InDesign, exporting to Publish Online or EPUB, but... it would be messy, slow and unreliable without lots of custom scripting.