I am using cocos creator to develop a game and I came across below situation.Please some one guide me.I want to get the sp.Skeleton width and height after scaling
In Above code I am trying to scale my image to 1/7 of my screen size , I know the original image width and height , Can any one tell me is it possible to get the image width and height after scaling ?
p.s: I am unable to set actual image height and width , So I am using scale to reduce my image width and height to fit my screen
Ok Thanks , how to get spine size after scaling , I tried getBoundingBoxToWorld,getContentSize,getBoundingBox after calling updateWorldTransform ( ) , All are returning 0 width and 0 height , spine is animating in screen , it is scaled and no error in console.