Local file & folder saves now available

30
Official Construct Post
Ashley's avatar
Ashley
  • 20 Nov, 2020
  • 704 words
  • ~3-5 mins
  • 5,028 visits
  • 6 favourites

We first took the bold step to launch Construct 3 as a fully browser-based web app in 2017. At the time, thanks to the ever-increasing power of the web platform, Construct 3 could do virtually everything Construct 2 could do as a desktop app (as well as adding new capabilities like Cloud Save). One of the only things that couldn't be done in a browser was accessing local files and folders. For a long time browsers lacked the necessary features and permission to access local files. However we're now pleased to announce that as of Construct 3 r225 you can now also save projects to local files and folders, just like in desktop apps! It's supported in Chrome 86+ as well as other Chromium-based browsers like the latest Microsoft Edge.

Saving local files

Now you can choose Menu - Project - Save as - Save as single file. The following save prompt lets you save your project file anywhere on disk. Previously you could only save a file to your downloads folder using the Download a copy option.

Further, when you next use the Open local file option, you can make changes and save directly over the original file on disk. This is the same convenience that you could normally only get with a desktop app, but now available in the browser!

For security reasons you may sometimes see a permission prompt when accessing files. Make sure you allow permission to ensure file access works.

Local files are also remembered in recent projects, making it easy to pick up from where you left off.

Saving local folders

Another new option is the ability to Save as project folder. This option saves your project as lots of individual files within a dedicated folder.

Why might you want to use this option? Firstly, it's good for very large projects, since saves are quicker: Construct only has to update a few of the changed files, rather than regenerate an entire new .c3p file containing the entire project on every save.

Secondly it's good for teams collaborating with source control tools like Git and SVN. Construct's main project data files are in a text-based JSON format, which works well with tracking and merging changes in these tools. We've written a guide covering how to use this with GitHub, so if you're interested in collaborating on a project with a team, see: How to collaborate on Construct projects with GitHub.

What's in a .c3p?

A useful thing to know is that Construct's single-file projects, with the extension .c3p, are (and have always been) just a zip of a project folder. This means you can rename them to .zip, extract the files, and now you have a project folder. Similarly you can do the reverse: zip a project folder, rename the .zip extension to .c3p, and now you have a single-file project. This means you can also easily switch between the project types in file managers like Windows Explorer.

Conclusion

You can find out more about the new feature in the updated manual section on Saving projects. You can also watch a demonstration towards the end of the r225 release video.

We first bet on the web back in 2011 with Construct 2's HTML5 exporter. We doubled-down in 2017 with a web-based editor for Construct 3. This move continues to pay off as the web platform continues to advance. Google even have a project specifically dedicated to ensuring web apps can do everything desktop and mobile apps can, called Project Fugu. This includes further capabilities in development, including the ability to associate the .c3p file extension with Construct 3. There's also the existing Install as app option allowing you to create a desktop shortcut that opens a special app window which (like in the browser) works offline - looking and feeling a lot like a desktop application, but actually using web technologies.

This moves us closer to the vision of having a web apps that work just like desktop apps - something we're fully utilising with Construct 3. And as ever browser makers are still working hard adding lots of other improvements and optimisations, and we're of course still working hard improving Construct 3 itself too!

Subscribe

Get emailed when there are new posts!

  • 11 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Thank you for the write-up! I appreciate the flexibility of saving as a folder vs. a file.

    I have a question about the save & backup options:

    When selecting "Backup location," there's an option for Google Drive, OneDrive, Dropbox (cloud save), Same Location, and Local Folder.

    If I select "Same Location," does this mean the game saves in the first folder I chose? And does "Local Folder" refer to where I’ve set it to autosave?

    I’m concerned because when switching between two projects, the Local Folder backup seems to overwrite the previous one. Is this how it's designed? If so, is there a way to avoid selecting a Local Folder, so C3 asks where to save backups per project?

  • Best update to Construct 3 so far.

  • Really great stuff, thanks!

  • that sooo cool

  • Great feature - especially saving into a folder for faster performance.

  • Scirra Squad for life!

  • i want save archives in mobile. When you go add this option on c3?

      • [-] [+]
      • 2
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 2 points
      • (0 children)

      The underlying Chrome feature is not currently supported on Android. Google need to add support. You can track progress of their Android implementation of local file access at this issue: crbug.com/1011535

  • great really improved the construct franchise good plkay mate .

  • That is soooooo cool........But there is just one question i have, is it only google chrome that has access to the local file saving..........I tried it with opera mini but it didn't work out to well

  • Cool I like it 😁😀