Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 993 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 993 Bytes

inkhaxe

Port from C# to Haxe for the ink runtime: So you can use inkle's ink engine directly for all other target platforms (Javascript, Flash, Neko, C++, Java, etc.), besides just C#.

Basically, it should run similar to the original runtime as found in https://github.com/inkle/ink/blob/master/Documentation/RunningYourInk.md

However, here are the differences:

  • Package name is ink.runtime, not Ink.Runtime. So, you call something like new ink.runtime.Story(...).
  • BindExternalFunction has no method overloading because Haxe doesn't support it, so you must explicitly use the required function for the stipulated number of parameters, such as BindExternalFunction0(...),BindExternalFunction1(...),BindExternalFunction2(...),BindExternalFunction3(...) or use BindExternalFunctionGeneral() for more than 3 parameters.

Target demo platforms that have been tested and proven to work:

  • Javascript

For any issues, check the Issues tab in the github repository.