makotok/Hanappe — pull request #24 by superquadratic (2013-02-13 16:17:15+00:00)
Title: Respect Rect Offset in TexturePacker Atlases

If a sprite sheet is created using the "Trim" option in TexturePacker, individual sprites can be offset from the original size. To make them appear at the right position in an animation, this offset (namely the `x` and `y` values of the `spriteColorRect`) must be taken into account when setting the deck's rect.

This fixes MoviePlayer animations for me when trimmed sprite frames have different sizes. I also compared the SheetImage sample output before and after my changes and they look the same.