Hi!
I'm having some trouble with NW.js functionnality.
Basically, while the game is running, I want to import on demand a .json file (using a different string as a parameter to indicate the name of the file requested) and load it into a array.
I've tested successfully the "open dialog" method (in which the user select which file he wants to import) but I want the same process to happen without having the user to select it (so no dialog box). I'm not sure I'm clear here but I am trying my best lol.
I also know the AJAX function can import file but I feel it is pretty restricted because you have to manually select which file you want to import.
tl;dr
want to know if possible (and how in that case) if the game can import .json files ingame without user assistance.
Thanks!