Custom exporter for TexturePacker supporting pivot point

For anyone wanting to set per-sprite pivot points defined in TexturePacker for spritesheets, I’ve created a custom exporter for TexturePacker that enables that feature.

I’ve tested this with Starling for OpenFL, but in theory, it should also work in Starling for ActionScript 3.0.

With per-sprite custom pivot point (on nose):

Screencast_20251020_145340_trim

Default otherwise:

Screencast_20251020_152106_trim

It seems that you are using “ps” for drawing, so you are using “TexturePackerGUI”. For me, I use “Animate” to create animations and export them directly to the “starling” texture gallery, and “Animate” also supports anchor points

One can use this whether they use Animate, PhotoShop, Inkscape, Gimp, (anything) to create their sprite assets. If one wants to continue to leverage the advantages of using TexturePacker, they now can with added pivot point support.