@RosePortal - I get errors like that when there is an issue with my language JSON file. What I would suggest to you is to save it off to another txt file, then copy the following over it:
{
"temp": {
"001": "testing to ensure everything is working right...",
"002": "here's an end entry"
}
}
Save that for your language file, and verify the game launches. If it does, you have a typo somewhere in your JSON file.
@RosePortal and
@Velare92
Here's what you need to know about the JSON files:
The JSON file is just a text file with data in it. It always starts with a curly brace { and always ends with a close brace }.
All the data is separated by commas and colons, and the final end of each 'container' in the set should NOT have a comma.
The data also HAS to have double-quotes at the beginning and end of the data.
The way the IAVRA plugin is set up, you can put everything in one 'set'...
{
"msg01": "Hi, Marv, did you find a job yet?",
"msg02": "Nah, I can't spell 'resume', much less spell what's on it.",
"actor01": "Marv is a high school dropout with no clue and a great destiny.",
"actor02": "Jane is a black haired beauty that only has eyes the the loser Marv.",
"weapon1": "This rusty knife looks like it will fall apart if the wind blows on it.",
"weapon2": "The sword belonged to Jane's grandfather. Nobody knows what the runes on the blade mean.",
'item1": "The bandaid is a stylish healing patch with an exciting anime character colorfully printed on it. The picture doesn't improve its healing properties.",
"item2": This silver key must go to something, but as tarnished as it is, the lock probably won't work."
}
Notice that it has quotes and colons separating it... Also, that each entry but the LAST one has a comma, just like in a list.
i.e. when you go to the store remember to pick up milk, bread, and eggs.
{
"name": "description"
}
Or, you can use SUB-lists, which makes the JSON more readable (by you):
{
"msg": {
"01": "Hi, Marve, blah blah.",
"02": "Nah, blah blah."
},
"actors": {
"Marv": "Marve blah blah.",
"Jane": "Jane blah blah."
},
"weapon": {
"knife": "This rusty knife blah blah.",
"sword": "This sword blah blah."
},
"item": {
"bandaid": "The bandaid blah blah.",
"silverkey": "This silver key blah blah."
}
}
Note that the SUB containers (msg, actors, weapon, item) have commas separating each entry but the LAST one (02, Jane, sword, silverkey).
Also note that each SUB container has a comma AFTER it, except the LAST one.
You can use the above data as a starting point for your JSON file.
The JSON file has to be saved in the root folder of your project. (for Windows, that would be Documents/Game/MyGame/) in the same place you see the audio, data, fonts etc folders.
Anywhere in the game designer, you can put a IAVRA tag to replace the name or description, message text, etc, with what's in the IAVRA text file. It's just ingenious.
The tag is #{name}, where name = the tag for the text.
For example, Marv, above, would have the following text in his description in the editor:
(for the non-SUB design) - #{actor01}
(for the SUB design) - #{actors.Marv}
In the opening event, you could have Jane meeting Marv on the street, and use the msg exchange:
#{msg01}
or
#{msg.01}
depending on whether you use SUB containers.
Anyway, hope this helps. No pictures.