Construct 2 .capx bug

  • Problem Description

    Sometimes Construct 2 have problems when you rename or delete objects, because C2 does not remove the reference to the old object

    Attach a Capx

    Attached

    Description of Capx

    Inside the .capx you have:

    1. "Animations" folder

    2. "Event sheets" folder

    3. "Files folder" folder

    4. "Layouts" folder

    5. Textures folder

    And the Project.caproj

    Inside the "Animations" folder you have a folder for each Sprite

    Steps to Reproduce Bug

    • Open project
    • Save as project (Works fine)
    • Save as single file (The old objects references are there)

    Observed Result

    If you unzip the single file (.capx) you can see that inside the "Animations" folder there still objects already deleted

    Expected Result

    I expect that the old objects are not there

    Affected Browsers

    • Construct 2 .capx file: (YES)

    Operating System and Service Pack

    Windows 8.1 Pro

    Construct 2 Version ID

    Construct 2 R193

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I can't do anything about this because the problem has already happened with the .capx you've provided. (Rename it to .zip and open it to see the project folder inside.) It contains animations for objects which aren't in the project. "Save as single file" simply copies the entire contents of your project folder so it also carries the unnecessary files.

    To be able to do anything about this I need complete steps to reproduce, as in how you deleted an object without its files getting removed.

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