Answer the question
In order to leave comments, you need to log in
How to fix a bug in DragonBones?
I use the latest versions of Adobe Illustrator and DragonBones.
In illustrator, I draw the object in layers. And then I export the resources to png. (Collection for export).
I get a folder 1x with png files.
I load all these files into DragonBones.
Everything loaded fine. Without distortion.
I am creating a grid.
And here is the result with the grid. See how the grid cut off 1 pixel from the edges of the picture.
Regardless of how to create a grid - manually, automatically, will always be cut off by 1 pixel from the edge. This is not my inaccuracy, but the work of the program.
The fact is that Adobe Illustrator creates png files exactly along the borders of the picture. What is correct and optimal.
But DragonBones cuts off 1 px with a grid, that is, it is guaranteed to cut off a pixel of the picture along the edges.
Now I have to reopen the png and resize it by adding transparent pixels around the edges.
Which is very annoying.
How to fix a bug in DragonBones? And is it a mistake?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question