inky icon indicating copy to clipboard operation
inky copied to clipboard

The Ink Writing Tutorial examples don't run in Inky

Open icanzilb opened this issue 8 years ago • 6 comments

I wanted to give the Ink Writing Tutorial (https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md) a try but no examples seem to run with the latest release of Inky. I tried a number of examples but beyond "Hello world" nothing else seemed to work:

image

I'm not sure whether the issue is on Inky's side or the tutorial is outdated but in any case it'd be great if they worked together 👍

icanzilb avatar Aug 29 '17 07:08 icanzilb

Hi! The example does work, but I believe it's missing a bit for simplicity's sake. What you're looking for is covered at the end of part 3 in the tutorial ;)

y-lohse avatar Aug 29 '17 07:08 y-lohse

We should probably put a little note in the tutorial about this!

On 29 Aug 2017, 08:50 +0100, Yannick Lohse [email protected], wrote:

Hi! The example does work, but I believe it's missing a bit for simplicity's sake. What you're looking for is covered at the end of part 3 in the tutorial ;) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

joethephish avatar Aug 29 '17 07:08 joethephish

thanks! I got a bit confused about this because the very first example says:

image

So I thought each of the code snippets can be run on its own (e.g. could be a standalone .ink file)

icanzilb avatar Aug 29 '17 07:08 icanzilb

To be clear: it can be run; and it has run! But then it errors at the end, when there's no more content.

Jon On Tue, 29 Aug 2017 at 8:53 am, Marin Todorov [email protected] wrote:

thanks! I got a bit confused about this because the very first example says:

[image: image] https://user-images.githubusercontent.com/633862/29810365-cf4c00ba-8c9f-11e7-98bb-24c7e82956f9.png

So I thought each of the code snippets can be run (e.g. could be a standalone .ink file)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/inkle/inky/issues/111#issuecomment-325584170, or mute the thread https://github.com/notifications/unsubscribe-auth/AA40ozZRX_RRvKpd6yRq9GvhcUONCSjrks5sc8NpgaJpZM4PFeNO .

joningold avatar Aug 29 '17 09:08 joningold

So, @joningold - do you think it's good as-is? Close? I just pasted that example into Inky and I get no issues, but maybe that's related to #114 ?

lunarcloud avatar Jan 12 '22 17:01 lunarcloud

In practice writing without ENDs everywhere you need them is common and to be supported! If we did anything I’d rather make runtime errors look different or something.

In the meantime tho, a brief “don’t worry about this” would be valid.

joningold avatar Jan 12 '22 17:01 joningold