Hello guys,
I want to add a function to my game checking on the start if a new version of a json file is available.
I'm using that json file to store my dialogs. But I don't want to update my game every time I changed something to it.
So I'm looking for a function checking on start of the layout if the file at the server is newer than the one in the project (maybe via an version ID stored in the json file or name).
Then if the file at the server is newer it should download it and store it (localstorage or better directly on the device and replace the old one).
The problem is I need this for an android game. I'm not sure if this will work <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">
Many thanks guys!
Here is a prepared capx file, not much, but a start: https://www.dropbox.com/s/aa45mraef6i0x ... .capx?dl=0