GameMaker (2.0 - 2.2.x)

Tracery GML


You must be logged in to obtain assets


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).

Age Rating: 4+


GMS2 - Version 1.0.0. Published March 2, 2019

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait