Construct 2 .capx bug

Report Construct 2 bugs here.

Post » Sun Jan 11, 2015 8:47 pm

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

Image

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
You do not have the required permissions to view the files attached to this post.
B
86
S
25
G
11
Posts: 652
Reputation: 11,047

Post » Tue Jan 13, 2015 2:23 pm

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.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests