Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Newbie trying to figure out how to do something specific in Twine 2.08

Heya folks,

I'm "Mr. Album" (my online pen name), and I'm giving Twine a try after thinking about it for a few months, as I've had an idea for an adult-rated Choose-Your-Own-Adventure novel kind of a deal that is simple on the programming side, but provides a full novel-length adventure, and I had an idea to make the text a little easier to read. I've seen something similar on one other Twine game (don't know what it was named, it was too long ago). I've looked through a bunch of the documentation for Harlowe and Twine, and I haven't been able to figure out the best way to do what I am trying to do. I am trying to stick with Harlowe until I build my programming skills (I'm a recent Mechanical Engineering graduate, so I have a basic idea of general programming logic and formatting... emphasis on "basic", Mechanicals don't do much with programming outside of MATLAB or Excel, or at least that's how my classes ended up XD).

The idea is this: Let's say that there's a few paragraphs of text. Then, there's a "Continue...." hyperlink on the bottom of the page. When this is clicked, the link gets replaced with another few paragraphs of text on the same page, i.e. it doesn't navigate to another page. This continues until the end of the chapter is reached, at which point there would be a link to a new chapter as a simple link within the Harlowe syntax. The reason why I think this would be good for readability is that it doesn't overwhelm the reader with a Wall-o-Text and allows me to control the pace at which they read, giving me more control over their experience with the story. I just haven't figured out how to do it yet, as I think it requires some combination of hooks and macros and I am posting this at 11:30 pm and I have to wake up at 6:00 am to get to work because I commute, so I thought I'd fire this off and see what you folks here thought about the issue so that I could get some sleep.

Let me know if you have any ideas or advice, or if this kind of thing has already been addressed here. Some searches of the forum haven't helped me nail down possible solutions unfortunately, and I'm too tired to search past the first few search result pages. My apologies if this ends up wasting time!

Thank you in advance,

-Mr. Album

Comments

  • You need the (link:) macro. This displays a link, then when the link is clicked it displays the contents of the attached hook.
    First block of text.
    (link: "continue...")[Second block of text.]
    
    Will do what you want.
  • ... Oh. Ah, I see, I actually did see that in the Harlowe documentation. Sorry about that folks! Thanks for setting me straight XD
Sign In or Register to comment.