I have a sprite of a character that instead of centering in the time to export to me, the animator put the center of the file on the character feet… This way I can do:
character.x = horizontalpositon
character.y = tiletop
without changing the reference.
or something like that.
The issue is: Touch only work in half of the sprite… Later the artist exported one sprite wrong, and I noticed with that wrong sprite, that touch only works in a particular area:
It works only where a centered sprite and my own pivot sprite intersect…
Thus if my sprite is 70 pixels tall and it was exported with the .swf center at the very bottom of it, touch only works in the bottom 35 pixels.
If my sprite is 70 pixels tall, and I put my pivot 10 pixels up from the bottom, then touch works in the bottom 45 pixels. [import]uid: 142895 topic_id: 29633 reply_id: 329633[/import]