This integrates Ink into the Flax Game Engine.
Enjoy this plugin and want to donate? Here is a link to donate on ko-fi.
To add this plugin project to your game, follow the instructions in the Flax Engine documentation for adding a plugin project automatically using git or manually.
- Install the plugin into your project.
- It is recommended to use the Inky editor for editing Ink files.
- Create Ink files somewhere in the "Content" folder by right clicking and selecting "Ink->Ink File". This will generate a new Ink file.
- If Inky is installed and .ink files are registered in the operating system to open ink files, then you can double click on the Ink file in the editor and it will open Inky.
- Save your Ink file and a
Ink Jsonfile will be generated. This file is the compiled Ink story and is what should be used in the game. - Add the provided
DialogueRunnerscript into a scene. - Create a another script to interact with the
DialogueRunner. Call methods and subscribe to events on theDialogueRunner. - Call
DialogueRunner.StartDialogue()and pass in theInk Jsonthat contains the compiled Ink story. - Follow tutorials online for Ink's story structure to create great experiences to share!