Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Tips to Choices #239

Open
micabytes opened this issue Dec 15, 2016 · 4 comments
Open

Adding Tips to Choices #239

micabytes opened this issue Dec 15, 2016 · 4 comments

Comments

@micabytes
Copy link
Contributor

May already have been discussed, but a couple of searches did not find anything.

I'm a big fan of providing the player with as much information as possible, in order to give them the best possible basis for making their decisions. As an eample, one could have a tooltip pop up with additional information, when one mouses over a choice.

E.g.,

* Agree to help Lord Cardigan {tip: +2 to your Noble faction reputation}

Would show a choice "Agree to help Lord Cardigan" and a tooltip "+2 to your Noble faction reputation" if the player moused over the choice.

Any thoughts on what would be a good way to add this sort of thing to Ink? I'm not thinking of the practical implementation (I use my own, jInk), but I'm thinking that there has probably been some thought on this at some point during your work, and I'd like to add this to jInk's syntax in a way which is minimally problematic wrt future Ink expansions/development.

One might also consider this something that could be useful for other purposes (e.g., free-form text), but my primary concern right now is handling this for choices.

@joethephish
Copy link
Member

joethephish commented Dec 15, 2016 via email

@micabytes
Copy link
Contributor Author

Thanks for the feedback. I might go for the second, since that should be fairly easy to add to jInk (and I prefer to keep that sort of stuff with the base engine, rather than having to re-implement/copy-paste it with every new deployment of the jInk engine).

@joethephish
Copy link
Member

The main complexity I've seen is the question of how it should interact with the choice structure:

* A [B] C # tag

...since currently we only have tags on the end of a line. So currently that would mean that he tag is added to the content AC. But I guess we could simply also add the tag to the choice AB, which seems like the most straightforward unsurprising approach. Could potentially be awkward if you really don't want the tag on AC though.

@micabytes
Copy link
Contributor Author

Not sure I got this, because the jInk implementation is subtly different here, but if I understand it correctly, this is about whether the tag available if the choice is show, or only after it is selected/executed?

I think the former is preferable, simply because if you really want to enforce the latter as a writer, you can always place the tag on a follow-up line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant