How do I make my game save files to the Roaming folder?

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
HTML5 Game Bundle (7 Games) – Created with Construct 3
  • I'm kind of an experienced C2 user and decided to make a survival game, that would save your progress in it's Roaming folder (just like Minecraft).

    The only problem is, I can't get it to work and I don't know why. My only guess is that my main drive is almost full (2GB free), but the files I'm testing are just text files.

    If I try the folder dialog method, it works, however.

    It's such a shame, that it won't work. Because making it so you have to pick the folder seems sketchy.

    Any ideas or are there any walk-arounds?

    Lastly, is there a way to compress folders into ".*" files using the file system?

  • So you are writing the file with NWjs plugin? Can you show a screenshot of the code?

    And you really need to free up some space, 2GB is not sustainable.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry, I already figured it out. All I had to do is check if the path exists. If it doesn't, it creates the path, so I don't really have to show you.

    But I will anyway:

    If you think it's not efficient, tell me another way to do that

    Btw, I used CCleaner and now there is 3GB storage free

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)