What's INK ?

How can I write INK ?

How does the plugin work ?

First thing you have to know : this plugin won't be able to read an .ink file, it can read only an JSON file made with inky. You can paste the JSON in the plugin properties or use an action to set the data.

My code isn't working ! Just be sure to build the story via the action associated.

I've build the story but the output is empty, sure this is a bug ! Nope, have you called beforehand the Continue action ? You must call it and then get your first output.

The event when an INK variable has changed didn't trigger, WTF ??? You must beforehand use the trancking variable action.

Why don't you make an example project ?

I want you guys to try every functionality of this plugin and to give feedback so I can correct the bugs. If I give you a pre-made code you can use it always this way and I won't be able correct everything. Just test stuff ! If you really want somewhere to start with, just adapt this.

If I use this in my game, do I have to give you credit ?

Putting it simply, NOPE you don't have to. But I would absolutely love that you give me credit, or at least show what you've made with it below. Also it's not only my work this plugin : the source code is from y-lohse, I only made the adaptation for construct 2.

???????????

Download link/GitHub Link

By the way, sorry guys, I'm not an native english speaker/writer. So my english is pretty sh*ty.

CeyFun Thanks a lot! I'll be sure to sure to keep you updated on my progress. Is it possible to add conditions like On End or On Choice? If not it's not a big deal as this can be called with the compare two values function, just a thought. Thanks again

It would also be great if the plugin could detect when knots, stitches and labels are called by name. This would extremely useful as there doesn't seem to be another way of tracking the ink at the moment apart from variables and choices. I see you already have have a go to scene function, an action that tracks the scene and triggers when this succeeds would be awesome.

AlexFrancois Thanks for the replies but right now it's hard to track the knot you're in via the code, but as soon as there's a way that does not make me write a part of the engine (stay tuned here) I'll implement that (if I start to write something in the engine that'll go nuts). Also right now I'm still studying so there's not as much time as I would like to take to code, so that might take some time. Anyway as soon as I can, I'll see what I can do about it.

PS : It's really hard for me to implement things that are not said here 'cause I don't have the time to read the code of the engine. Sorry but studies first ).

Hello guys !!! I have work to do but you know what ? F*ck it I do what I want to do. So, to be quick, there's an update to the plugin : I added TAGS support ! If you want to know what it is you can always check out there for further explanation. AlexFrancois I hope that'll help out if you want to know in which knot you're in (on the GitHub there are some that have tagged all theirs but hopefully you won't have to). Also I've passed some hours to try to implement a more direct way to get the knot name but I didn't get the things working (I think that's caused by my using of the JS version of ink). Sorry about that (but now I kinda understand how the engine work so that's not for nothing).

Just discovered this really useful. I've managed to get Construct to display the main text output, but I'm at a loss on how to get the engine to display the choices and have them function? I'm sure it's something super easy but I can't for the life of me figure it out.

Is this plugin being worked on by anyone else? Would be really good to see the main team from Scirra give this some love. Ink is becoming a significant force in IF and it would massively increase the capabilities of C3 and its marketability.