Tools icon indicating copy to clipboard operation
Tools copied to clipboard

Bug: TextureAtlas with rotated is rotated wrong direction

Open fastfading opened this issue 5 years ago • 1 comments

according to this doc https://doc.starling-framework.org/v2.1/starling/textures/TextureAtlas.html TextureAtlas with rotated is not supported. however when I try it import a skeleton.xml texture.xml texture.png in to Dragonbone Pro with official importer. It display mismatch images. Looks like the rotated option , did not work. image this tool seems not provide a xml convert function

fastfading avatar Jul 01 '19 01:07 fastfading

https://doc.starling-framework.org/v2.1/starling/textures/TextureAtlas.html Texture Rotation Some atlas generators can optionally rotate individual textures to optimize the texture distribution. This is supported via the boolean attribute "rotated". If it is set to true for a certain subtexture, this means that the texture on the atlas has been rotated by 90 degrees, clockwise. Starling will undo that rotation by rotating it counter-clockwise. (逆时针) but dragonbone did clockwise (顺时针)

fastfading avatar Jul 02 '19 00:07 fastfading