Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in offset for packed sprites #1043

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 10, 2014

  1. Add in offset for packed sprites

    Many sprite animation tools pack the sprites in such a way that the
    size of the image is optimized.  In order to play the sprite properly
    you need to change the x and y coordinate of the image so the sprite
    plays properly.  Currently in Kineticjs there is no place to store this
    offset data.  I added the offset data optionally to the sprite object
    and changed the scene function to use it if it exists.
    leohenning committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    366fe5d View commit details
    Browse the repository at this point in the history