Jump to content

Polygon's position is different from the sprite


shabeerahmedshah
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...