narrator icon indicating copy to clipboard operation
narrator copied to clipboard

Example doesn't show how bindings/observe work

Open flamendless opened this issue 4 years ago • 2 comments
trafficstars

the game.lua has calls to story:observe and story:bind yet it doesn't trigger at all since the stories/game.ink has that missing.

flamendless avatar Sep 26 '21 02:09 flamendless

In fact, I copied an example ink file from the official documentation and so far I can't figure out how to fit these functions nicely into it. There are also no tags there.

I added bindings and observation in the example rather to show how to do it. If we want to see it in action as well, I think we need to write our own example Ink script.

astrochili avatar Oct 11 '21 18:10 astrochili

Indeed. But for demo purposes i think it's fitting to have your example lua also show other functionalities of the lib

flamendless avatar Oct 11 '21 23:10 flamendless