Hi,
As students in my mobile gaming course begin working on their final projects, I'm hoping to deepen my knowledge of how JSON files can be used to create a rudimentary dialogue system.
So far, I've come across the following resources:
- Dialogue Designer III - An inexpensive utility from itch.io that can be used to write dialogues. This tool exports to JSON format, but the documentation does not include examples of how to parse the JSON files.
- JSON Manager Plugin - Now deprecated because the functionality has been folded into C3, this plugin came with a sample file that includes helpful comments and explanations, but I'm not sure which parts of the event sheet are still applicable. Tried disabling the add-on manager to see if any of the code still worked, but it wouldn't load the file without the add-on.
- An old version of "Dialogue System Template" that I purchased for Construct 2 a couple years ago when a student wanted to create a visual novel. I just realized that it has been updated for C3.
- JSON documentation in the C3 manual.
I'm trying to make sense out of these resources, but I am still missing some of the big picture. Resources like 'Dialogue System Template' and 'Dialogue Designer III' are somewhat helpful, but they assume that one is using these particular tools. I would *love* to find some sort of higher-level explanation of the concept. Can anyone point me to other resources or explanations or sample C3 files which helped you make sense out of JSON and dialogue options?
As a related question, I'm also trying to figure out how the JSON structure intersects with arrays and dictionaries. Is the idea that we first parse a JSON file and, after it has been loaded and parsed, we use this information to populate arrays and/or dictionaries?
I'm sure I can figure all of this out. Just missing a few pieces/insights about how everything fits together.