Tracery is a story-grammar generation library originally developed by Kate Compton.

More information can be found on the original readme.

With this port, you can read JSON Tracery grammars straight from an included file or a stringified variable and create generative text.

How to use

  1. Create a file with a JSON-formatted grammar (example grammars can be found on the original GitHub page)
  2. Create an obj_grammar object
  3. Call grammar_load_from with the grammar object and the json_decode of the JSON input
  4. Set your result to grammar_flatten of the grammar, which will default to the #origin# tag, but can be defined as another root.

Examples of the above can be found in the obj_example object included in the project.

End User Licence Agreement (EULA).

Version 1.0.0. Published March 2, 2019

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.

No reviews yet

No reviews have been left for this asset - be the first!

Package contents

Loading, please wait

What is the issue?

Back to Top