0 votes
by (160 points)
I really like Jonah because a player can always scroll up to click on a different option. However, the way I'd like my game to work, I want my variables to not be undone/reverted if a player does so. If anyone has any suggestions on how to go about this better, let me know.
Currently I'm trying to manage my variables through JavaScript (in a script tagged passage). My thinking is to call functions to increase counters, and just return them when I need them checked. I cannot find the right way to format my script-tagged passage though. Intuitive JavaScript formatting didn't work, nor did replicating formats I've found online so far.
Any help/direction is appreciated!

1 Answer

+1 vote
by (62.7k points)
selected by
 
Best answer

I answered this on the subreddit

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...