Hi everyone,
so I've tried discord and the "how do I..." Forum, but can't find any help. Most likely because my problem isn't solvable with the basic Construct functions (?).
So maybe you guys can help me.
I'm trying to find a way to save arrays as JSON file within the game files. I found a possible way to do it with the FileSystem, but this only works when the user previously picked the file path. Since I want users to create levels and save them as JSON files within the game files, i find it very inconvenient, if they have to locate the correct file location manually first, and it also would make it unnecessary complicated to show all created levels since they are not located at the same place. So it would be great if i can write and read files in a preset folder path.
So since it's not possible with the FileSystem (or at least i couldn't figure it out properly), i thought it might be possible with JavaScript itself?
Any help on this would be great <3