JoshuaGrams / tiny-qbn

A storylets library for Twine2/Sugarcube.
https://joshuagrams.github.io/tiny-qbn/
Other
48 stars 3 forks source link

Tutorial example 2 - some kind of temporary variable error #2

Closed Gamewise closed 4 years ago

Gamewise commented 4 years ago

This is the error I'm getting in your example: image

I'm also getting my own errors when trying to replicate.. ;P But I thought I'd mention it because if you've got a working version I can just compare and see where I went wrong.

The tutorials are great, but if there were some more screenshots along the way that would be so awesome.

JoshuaGrams commented 4 years ago

Oh dear.

So...that error says that _products is undefined.

Looks like it should be: <<unset _product>> to clear the product flag, but I wrote <<unset _products>> and deleted the list of available products instead.

Oof. That has been broken for most of this year. Guess I didn't test before I uploaded.

JoshuaGrams commented 4 years ago

Do you have thoughts about what sort of screenshots would be useful? I wanted to make sure that I provided the code in text form so it was accessible to screenreaders, and was a little reluctant to duplicate that too much in screenshots, but...

Also if you save the runnable example page you can import it into Twine and look at all the code there. I should probably make a big flashing banner somewhere saying that, because I don't think that's general knowledge...

Gamewise commented 4 years ago

Haha no worries. I knew it would be something tiny that you'd spot straight away hehe.

I think TinyQBN may be perfect for something I'm trying to make which is why I was trying to get it up and running etc.

So honestly I don't think you can have too many pictures :P As a non-programmer, every bit of visuals helps. Particularly for the content of passages would be helpful (you do this a bit already, but even more would be good) e.g at the end of the tutorial something like, your passages should look like this: cue picture!

Haha yeah it's not necessarily general knowledge. I did know it :)

On Sun, Sep 20, 2020 at 8:19 PM Joshua Grams notifications@github.com wrote:

Do you have thoughts about what sort of screenshots would be useful? I wanted to make sure that I provided the code in text form so it was accessible to screenreaders, and was a little reluctant to duplicate that too much in screenshots, but...

Also if you save the runnable example page you can import it into Twine and look at all the code there. I should probably make a big flashing banner somewhere saying that, because I don't think that's general knowledge...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JoshuaGrams/tiny-qbn/issues/2#issuecomment-695769872, or unsubscribe https://github.com/notifications/unsubscribe-auth/APEXLMPPQ4JAOELVVCVYZWTSGXJJVANCNFSM4RTRA5NA .