krita-unofficial-spine-export icon indicating copy to clipboard operation
krita-unofficial-spine-export copied to clipboard

Defining The Origin Of Character

Open 3Dline opened this issue 2 years ago • 5 comments

As long as I could understand, there is no way to define coordinate origin in Krita. The default position is in the upper left corner of the canvas. Because of that all the characters exported from Krita, is appear lower right of the Spine origin. . If we had a Layer with [Origin] tag in the name, it could be a dot or a small circle in it in custom position on canvas, then Addon could calculate the center of origin layer and apply the transformation to all exported Layer in order to get fixed position each time in Spine.

3Dline avatar May 03 '23 00:05 3Dline

I did it on my own fork of this script. it is really useful when you have to do the different style or different assets in different session of exporting.

3Dline avatar May 04 '23 11:05 3Dline

Thanks for this! Maybe make it a PR?

bryab avatar Aug 16 '23 15:08 bryab

what do you mean by PR? I'm an amator scripter...

3Dline avatar Aug 20 '23 13:08 3Dline

Hey, sorry! I mean make a Pull Request so that your change could be incorporated into the main repository. This assumes the owner is maintaining it - not sure if that is the case.

On Sun, Aug 20, 2023 at 9:32 AM Aslan Tamjidi @.***> wrote:

what do you mean by PR? I'm an amator scripter...

— Reply to this email directly, view it on GitHub https://github.com/chartinger/krita-unofficial-spine-export/issues/5#issuecomment-1685286834, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA66DNXXG3B2EUKBHLGV7LXWIGXBANCNFSM6AAAAAAXTXLOFM . You are receiving this because you commented.Message ID: @.***>

bryab avatar Aug 20 '23 15:08 bryab

Hi, author here.

Sadly i have very little time to maintain this repo and there are forks that already include features not present here. (e.g. https://github.com/DanStout/KritaToSpine)

But feel free to open a PR.

chartinger avatar Aug 20 '23 15:08 chartinger