You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen, this has dropped the --border-padding and --shape-padding options; we get bleed in-engine around the edges.
Dropping only the --sheet-pack option re-enables padding, but as the sheet isn't well packed on many sprites we lose a lot of texture memory and on some platforms brush up against texture size limits.
I'm currently in dire need of this feature. If it's not in the pipeline, can someone point me towards the class where this should be implemented? If I find the time I can try to fix it & submit a pull request.
I've written a little tool you can use in the meantime https://github.com/Nuuf/aseprite-packer
Basically you first export with aseprite and then if you need padding and/or border you can use this tool to add that. Has a CLI so you can combine the two.
Feel free to ask me any questions of you can't get it working.
Hello.
Is it possible to combine --trim and --sheet-pack with --border-padding, --shape-padding or --inner-padding when invoking the CLI?
I am testing with the following .ase:
player.zip
Using the following to try and pack frames as nearly as possible but have 1px between each border:
aseprite --batch --trim --sheet-pack --shape-padding 1 --border-padding 1 --sheet player.png player.ase
As seen, this has dropped the --border-padding and --shape-padding options; we get bleed in-engine around the edges.
Dropping only the --sheet-pack option re-enables padding, but as the sheet isn't well packed on many sprites we lose a lot of texture memory and on some platforms brush up against texture size limits.
aseprite --batch --trim --shape-padding 1 --border-padding 1 --sheet player.png player.ase
Is there a way to combine these behaviours, such as this?
Thank you.
The text was updated successfully, but these errors were encountered: