I would like to introduce to you
DEFORK - an example of how a json data exported from Twine - a tool for creating conversations, can be used to easily create interactive stories in Defold - with
Logo made with DesignEvo
I was looking for a tool to easily create conversations for my Pixel Art: Witchcrafter and started to play with Inklewriter, but unfortunately they shut down the project in August 2018. However I was suprised how such conveniences are needed in developing a narrative driven game. So after all, now I’m using Twine to create dialog json data in this tool.
Defork utilizes an awesome library - RichText by @britzl to conveniently and easily show loaded data and create interactive dialogs with handled input.
With Defork you can easily:
- load json data exported from conversation making tool, such as Twine
- get text, options and links leading to next dialog’s nodes
- store and manage current links, options and flow through nodes
- use RichText to easily show dialog window, modify text effects
- modify data by adding actors, colors and custom text effects
- add images, portraits or emoticons to Rich Text
- manage input and handle transitions between nodes
Here is another example of what you can do with Defork, you can modify almost anything:
With Twine and Twinson format you can export data and create a json file in a project folder, which you can attach to custom resources in game.project. In Twine remember to Change Story Format to Twinson, so after clicking Play you will get json data.
With a tool like this you will be able to separate story and dialog creation from other game development activities. Defork and an example Defold project with an example json data compatible with current Defork module is available here:
I hope it involves you to create fantastic, nonlinear, interactive stories!
I can’t add any asset on the asset page. After clicking ‘add asset’, projects available to attach aren’t showing and it’s loading all the time. Can anyone help me? It would be nice to attach Defork module via Dependency Library from game.project and add html5 example