Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

History/Journal 2 (Simple but maybe of some help to someone?) (sugarcube)

$
0
0
So, I have a very simple way of creating a journal/tracking history in Sugarcube 2 for the player menu. Not very elegant, but no coding up front for the beginners like me. Maybe someone will find it useful.

Link your StoryMenu passage (make one if you haven't got one) to a new passage 'History' (our journal or diary, whatever you prefer to call it) which creates a new menu option.

In the History passage, list entries as variables under the <<print>> command eg

<<print $entry1>>
<<print $entry2>>
<<print $entry3>>

And in your StoryInit passage (make one if you haven't got one) set all the $entry variables to ""

Then whenever a passage does something you think is worthy of a diary entry, have that passage set the relevant $entry to "The diary entry goes here", which will then automatically be printed in the History passage.

I know it's not very sophisticated, but I'm finding it very easy to implement -- especially if you are slightly winging-it with the plot! Gives the player a nice journal in the menu.

Viewing all articles
Browse latest Browse all 1844

Trending Articles