AsepriteScripts icon indicating copy to clipboard operation
AsepriteScripts copied to clipboard

Add layers selection feature

Open Haelle opened this issue 11 months ago • 3 comments

Add the possibility to export only one layer or one group.

I made this to solve #15 . It does not directly fix the problem (ignoring hidden layers) ; but I prefer to choose which layers/group I want to export.

It will not allow to export multiple layers in different groups.

It fits my needs and seemed easier to develop ☺️

Haelle avatar Jan 29 '25 21:01 Haelle

FYI : on my side I added the export type 'aseprite', it's a bit dumb because it copy the original file but with only one layer visible... But with Unity it generates animation directly which is nice

Haelle avatar Jan 29 '25 22:01 Haelle

This PR needs an update as I don't allow to select all layers, so it's a bit annoying...

Haelle avatar Jan 30 '25 08:01 Haelle

This version suits me, but it's not perfect...

  • added "All Layers" options when exporting
  • added "aseprite" format to export -> but warning it just copies the current file and disable all other layers (no ideal but really convinient as Unity generate animations for aseprite files automatically)

Haelle avatar Feb 02 '25 15:02 Haelle

Closing PR. PR #22 implements layer exclusion by adding a prefix to the layer name. This allows the user to save the state of which layers are to be exported. I think that fulfills the purpose of this PR and thus I am closing it.

PKGaspi avatar Oct 21 '25 09:10 PKGaspi