Peek feature (originally "any lookahead ability?")
Since as outside users of the ink-engine as middleware we are likely to find outselves parsing output from its stories as possible commands it would be nice to have a lookahead function (as parsers like to have :-) ). Is there any look ahead capacity? Rather then being forced to "eat" content from the ink-engine to look ahead? Obviously I can build my own buffer but just wanted to know if any was available or planned. Thank you.
Yup, this is definitely planned! On the old version of the engine we had a "peek" function that was equivalent to "continue", except that it didn't change any state. We'll definitely be needing this for our next game, so it's definitely coming, but I can't give you a solid timeline since it will depend entirely on whenever we find we need it during development.
Good to hear! Implemented my own for now :) Good lck on Sorcery release:)
On Monday, September 5, 2016, Joseph Humfrey [email protected] wrote:
Yup, this is definitely planned! On the old version of the engine we had a "peek" function that was equivalent to "continue", except that it didn't change any state. We'll definitely be needing this for our next game, so it's definitely coming, but I can't give you a solid timeline since it will depend entirely on whenever we find we need it during development.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/inkle/ink/issues/165#issuecomment-244766373, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGsl9FuwHz1MW-fFdcSJQOftD-W0tqoks5qnC6UgaJpZM4Jufee .
Sent from Gmail Mobile
So did you guys ever get around to this for the new game (i.e. a 'peek')? Thanks for any update.
Sorry, not for this game! On 9 Feb 2019, 00:25 +0000, lhughes41 [email protected], wrote:
So did you guys ever get around to this for the new game (i.e. a 'peek')? THanks for any update. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I'm interested in this too, in particular because I would like to read certain knots (via ContinueMaximally) without bothering to update their read counts and whatnot for performance reasons. I'm using this for a quest log type system that can use Ink variables, though I may have to take a different approach for performance reasons.