Exporting linked cells


#1

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:

aseprite -b Mouse1.ase --trim --ignore-empty --save-as '{layer}.png'

Any help is appreciated!


Ignore duplicate/linked cels on export?
#2

I have same problem. I set up linked cells. But exported image has as many images as there are frames.
Please solve this problem.


#3

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:

06

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.


#4

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.

Thanks!


#5

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.