Hi guys,
I'm using Twine 2.0 and Harlowe 2.0.1
I'm about 1/3rd of the way through my game, and I'm now at a bit of a loss for how to proceed. My game mimics a computer system, and the main story of the game is this mysterious instant chat you are involved in. I have created the shape and style of my instant chat box, and I've used it a few times now to show active, inactive, and archived chats. What I want to do now is have the user follow the instant chat, with multiple choices for replies. Whichever reply they click will then need to show up in the chat, and trigger the corresponding message, followed by another set of multiple choice replies.
What I've got so far is a bit of a mess.
<div class="boxed5">
[]<chat|
</div>
<div class="boxed6">
$name:[ [Hello?]<opt1| or [Who is this?]<opt2| ](allopt1|
</div>
So I have my chat box, which everything will be appended to, followed by the reply box, where the options need to appear (two at a time).
(set: $tick to 0)\
(live: 1s)[
(set: $tick to it + 1)
(if: $tick is 2)[
(append: ?chat)[(colour: #ffddcc)[Jupiter: Hello]]
]
(if: $tick is 3)[
(show: ?allopt1)
]
(click: ?opt1)[(replace: ?allopt1)[$opt3 or $opt4]]
(click: ?opt2)[(replace: ?allopt1)[$opt5 or $opt6]]
]
This is what I just put down as a starting place. I set the 'opt' variables in the startup-config passage. This is my first Twine game and, while I have a basic understanding of what I'm doing, I feel this is going to give me a headache very soon.
So I wanted to ask if anyone has any advice or tips before I proceed any further? What is the best way of supplying regular, clickable, multiple choices inside one hook, which changes the content of another hook, and then refreshes with more new choices? Is this going to end up being a very messy and mind-boggling passage?
Sorry if I haven't explained this very well.
To summarise, I want to mimic an instant chat feature. The player needs to have reply options, which show up in the chat, and the trigger their next lot of reply options.
Thanks!