I am using addTextureAtlasData to load texture atlases from the Starling assetManager:
factory.addTextureAtlasData(StarlingTextureAtlasData.fromTextureAtlas(assets.getTextureAtlas('anim')), 'anim');
The scale of the textures that are rendered is not right as the textures are a different scale to those used to configure the DragonBones project. This is because I need to support multiple-resolutions.
What is the best way to implement asset scaling through this call?
factory.scaleForTexture seems to have no effect and I don't want to use the factory.parseTextureAtlasData method in this situation.
I am using
addTextureAtlasDatato load texture atlases from the Starling assetManager:The scale of the textures that are rendered is not right as the textures are a different scale to those used to configure the DragonBones project. This is because I need to support multiple-resolutions.
What is the best way to implement asset scaling through this call?
factory.scaleForTextureseems to have no effect and I don't want to use thefactory.parseTextureAtlasDatamethod in this situation.