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
In order to fully support the "Trim mode" of TexturePacker, the code will require some further implementation in the Slot logic.
The "Trim" option helps to win precious surface on the texture atlases by removing transparent pixels. It would be a real plus to finish its support in DragonBonesAS.
//textureData.frame = textureAtlas.getFrame(textureName); // TODO
The text was updated successfully, but these errors were encountered:
Adolio
changed the title
Add support of TextureAtlas.getFrame() for trimmed atlases
Add support of TextureAtlas frames for trimmed atlases
Aug 16, 2017
Adolio
changed the title
Add support of TextureAtlas frames for trimmed atlases
Add support of TextureAtlas frames for trimmed textures
Aug 16, 2017
Hi,
There is no solution to fully support the starling texture atlas yet, subtexture will be dislocated regardless of whether the code is open or not, the best solution is to tirm images before the package in texturepacker, or use DragonBones Pro to manager texture atlases.
In order to fully support the "Trim mode" of TexturePacker, the code will require some further implementation in the Slot logic.
The "Trim" option helps to win precious surface on the texture atlases by removing transparent pixels. It would be a real plus to finish its support in DragonBonesAS.
Thanks in advance!
TODO references in the code:
DragonBonesAS/Starling/Starling_1.x/src/dragonBones/starling/StarlingTextureAtlasData.as
Line 26 in 450d4d3
DragonBonesAS/Starling/Starling_2.x/src/dragonBones/starling/StarlingTextureAtlasData.as
Line 26 in 450d4d3
The text was updated successfully, but these errors were encountered: