shabeerahmedshah Posted April 5, 2016 Share Posted April 5, 2016 While using loadPolygon(), why is that the sprite (image) is a bit lower than the body created by polygon points? Link to comment Share on other sites More sharing options...
Llorx Posted April 5, 2016 Share Posted April 5, 2016 AFAIK, 2 things could happen. Can you share the code where you create the sprite and load the polygon? I mean, with all the modifications that you make to it (scaling, or whatever). This happened to me but in the x coordinate. The problem was that the polygon loaded with loadPolygon was centered on the sprite when it was loaded, and the sprite size was bigger than the image it had inside, so all that I had to do was to fit the sprite to the things I was drawing inside (Was a BitmapData where I draw things on). Link to comment Share on other sites More sharing options...
Recommended Posts