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
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.
The text was updated successfully, but these errors were encountered:
Thanks @akdcl, in the provided demo the scale factor param has been added to the parseTextureAtlasData method in dev branch, though in my situation I am using addTextureAtlasData. Is there an equivalent way to set the scale for this method?
StarlingTextureAtlasData.fromTextureAtlas will set the scale from starling, may be the scale is not suitable for the armature scale.
You can scale dragonBoneData when you parse it.
You can also look at this issue, #86
I am using
addTextureAtlasData
to 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.scaleForTexture
seems to have no effect and I don't want to use thefactory.parseTextureAtlasData
method in this situation.The text was updated successfully, but these errors were encountered: