I have several layers, some with animations. I set up linked cells for some of the layers that don’t change each frame. When I got to export it exports several images instead of 1 for the linked cells. EX: If I have 5 frames that are all linked it’ll export 5 images instead of 1.
I’m using the terminal to export. Here is what I’m doing:
This is a tricky issue. Some people would prefer to export everything (so the import process from their side is easier) and other people will prefer to avoid exporting linked/duplicated cels/frames.
For example, in this case:
Aseprite exports:
body1.png
body2.png
body3.png
body4.png
body5.png
But with this new behavior should export:
body1.png
body2.png
body5.png
The bad side is that Aseprite then cannot reload this kind of exported sequences (but it might not be a problem for you).
Maybe a new --ignore-duplicates option would be enough.
Several months ago I remember there being a discussion on this - will this ever be a feature at some point? A console command --ignore-duplicates was mentioned - seems easy enough to implement.
Having the ability to link cels and not export those frames is really handy in game sprite sheets for saving time/maintaining a smaller number of unique frames.
Yeah, there are plans to implement this --ignore-duplicates. Maybe not for v1.2.7 (because I’ll try to release it ASAP next week), but it might be soon.
Is there meanwhile a way to do --ignore-duplicates?
I checked the release notes until 1.2.7, there is only --merge-duplicates, which in my experience, does not work for --save-as…but maybe I am missing something