0 votes
by (120 points)

Hello everyone!

I am creating a series of educational games that will be hosted on different AWS Buckets and displayed inside an iframe through a web application. 

Right now I am trying to create a functionality for users to be able to save their progress in each chapter when exiting the chapter window, and come back to the chapter later at the same position.

I have found the following answer which illustrates an option to use with harlowe for accessing variables inside the engine, but it is limited to local accessing of the Harlowe file:

https://twinery.org/forum/discussion/6002/i-would-like-to-access-twine-2-harlowe-variables-with-javascript

My guess is that the solution might be related to using window.postmessage() as suggested in the replies to that post, but I am not familiar with this.

Also, if we get access to Harlowe variables, which variable would hold the history of passages used by the user?

I would really appreciate your help!

 

Please log in or register to answer this question.

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.
...