Twine: 2.1.1
Harlow: 2.0
Ok so, I've been working with Harlow on and off today and I've come to something that has me stumped. In a normal programming language it would be simple, but I'm not sure how to proceed with Harlow.
So the idea that I want to run with is to have long passages slowly build themselves as the user makes choices. Basically, scenes evolve as a whole rather than one passage to the next.
For instance:
Name?
(Choices
Dennis
Hailey)
(User chooses Dennis and both choices vanish and a new block of text appears:)
Nice to meet you Dennis, how old are you?
(Choices
18
25)
Etc.
This is something I used to do in Quest Text, but everyone told me to move to Twine so that's what got me here.
So I've figured out that I need to use Hooks, so I've got:
I attempted to convert the ?nameDisplay to a variable ($nameDisplay) but I think I'm missing something?
Harlow: 2.0
Ok so, I've been working with Harlow on and off today and I've come to something that has me stumped. In a normal programming language it would be simple, but I'm not sure how to proceed with Harlow.
So the idea that I want to run with is to have long passages slowly build themselves as the user makes choices. Basically, scenes evolve as a whole rather than one passage to the next.
For instance:
Name?
(Choices
Dennis
Hailey)
(User chooses Dennis and both choices vanish and a new block of text appears:)
Nice to meet you Dennis, how old are you?
(Choices
18
25)
Etc.
This is something I used to do in Quest Text, but everyone told me to move to Twine so that's what got me here.
So I've figured out that I need to use Hooks, so I've got:
"Name?" ["Jesse Jackson"]<nameDisplay| ["Taylor Swift"]<nameDisplay| (click: ?nameDisplay)[(if: ?nameDisplay is "Jesse Jackson")[Right] (else:)[Wrong] ]
I attempted to convert the ?nameDisplay to a variable ($nameDisplay) but I think I'm missing something?