File format finalized?

This forum is currently in read-only mode.
From the Asset Store
Source File, music and art pack for Android Negotiator
  • Just want to make sure that the file format won't be undergoing any more modifications that will make our games unopenable again before I work more with construct. <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

  • I think now we will say the file format will no longer change.

    Besides, if we do, I have to redo all the templates and demos and I don't want to <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

  • Whoo-hoo! That's great news! <img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could, perhaps more simply, add a feature a bit like extensions, where Construct can look for a plugin which explains how to convert an old file format to a new one. So in a simple example, if the file header now includes a bunch more stuff, the plugin would read the old file format and reorganise it into the new one.

    I'd have thought you could use your file-reading code from the old version, and file-saving code from the new version, to lift everything into memory, then shove it into a file using the new routines?

  • Our plugins have a versioning system. If a plugin needs to save more data in to the .cap, all you have to do is increment the Version number and add two load routines: one for version 1 with defaults for new features, and one for version 2. So even as we add stuff to plugins they can still be loaded from old .caps, and this system is built in to the IDE too. So even as we add new features the .cap format shouldn't have to change <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

    Last time we discovered some bugs in this system though so we had to break compatibility. This time around, it seems to be working fine!

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