OK, forget the last post - the dictionary object cant read json files - I thought the load action would load from file, but it only can load from hand entered text at design time.
It looks like the only route is write a some AJAX code.
Done this, and by luck you can use a relative URL which is just the name of your json file in quotes.
So it works - I can read in some dictionary settings via a file at runtime.
What is the earliest time I can do this? I need to get the entire game to wait till this has done, which is a pain.
Im using "On loading finished". Is there an eariler event I can use?
The format of the json file is:
The only problem I have now is that you cant edit the file in the single file project, you have to delete it and re-add it from somehwere else if you want to change the files contents. There is an "open" option if you right click on the file in the project, but this does nothing (for me anyway).