Json Manager (Construct 3 Plugins)

You're viewing a single comment in a conversation. View all the comments
  • 7 Comments

  • Order by
  • hi, again.

    is it possible to load multiple json, without import files and will be import after build? if so, how can i get the specific name of that files to load it on start dynamically?

    • The JSON manager has an action to load a string also. So you could use the built in ajax to get the file at runtime and load the string into the json manager. But make sure to still use the file loaded trigger before using it. Then just use different slots for the different files

      • i.imgur.com/23fwwZU.png

        i just try to use load json from string, like the image above.

        but, the json won't load. i use an ajax as well, but still i dont get it how to call the json without any imported file(will imported after build, manually copy to the exported project).

        • I looked at the screen shot but it's hard to get a full picture of what you're attempting. Is there anyway you can supply a sample sample project that demonstrates the issue?

          If you can, I would be more than happy to see if I can help.

          • goo.gl/FeKmSR

            here's the sample of my project.

            hope you'll understand what im looking for, thankyou.

            • I modified this a little. If you click on the image it will display text from the json file on the screen. You have to use ajax to load the file first. You can request from a project file or http resource. I chose the later and just specified the name of the file so it would load it locally. Once its loaded I load the json manager with the string result from the ajax request. Your index in the array was off by one so i changed it to 8 and now it displays the text on the screen. Hopefully this helps.

              drive.google.com/open