0 votes
by (490 points)
Hello! I genuinely do not know if this is at all possible, but if anybody has any idea at all how to implement the concept I have, it'd be very cool indeed. Or, you know, tell me it's impossible. That's cool too.

Basically, the idea is that there is a certain passage in the game that allows a player to input a phrase/message, which the game will save, either internally or on some kind of remote platform. An earlier passage in this game will output the phrase/message that the previous person to play the game gave. (and so on, etc; so that every person playing the game will see the message that the person that last played input into the system)

...I tend to use philome.la for hosting my works; if that makes any difference.

3 Answers

0 votes
by (23.6k points)

There's the <<remember>> macro that allows for a value to be stored over the course of a game/browser restart. That would only work for players playing on the same device though. For what you want to do you'd have to set up your game to send player input to and access it from some external source. It's no dount possible, but there are no build-in features that could help you with this task. 

0 votes
by (63.1k points)
This really isn't possible without a server, though you could use an embedded Google form and a spreadsheet or Disqus as a poor man's alternative.
0 votes
by (44.1k points)

You could take the data you need to transfer, turn it into a JSON object, then compress that JSON data using something like JSONC, and have the user copy that string to their clipboard.  Then, in the next game, you would have them paste that into a <<textarea>>, decompress it using JSONC again, and then parse the JSON object back into usable data.

I recommend keeping the values of as few variables as possible, so the string length doesn't get out of hand.

It's not particularly elegant, but it's probably the bset you'll get for what you're asking for.

Hope that helps!  :-)

by (158k points)
As I understand the original question the asker wants players other than the current one to see the output, so while parts of this technique could be used to generate the current player's 'data' it doesn't include any means for that 'data' to be transmitted to somewhere where other players can access it.
by (44.1k points)
Wow.  Yeah, I totally misread that.

Remind me not to post while falling asleep.  :-P
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.
...