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

Animation Helper - Offset X Y not working properly #37

Closed
funshark opened this issue Jul 9, 2012 · 1 comment
Closed

Animation Helper - Offset X Y not working properly #37

funshark opened this issue Jul 9, 2012 · 1 comment

Comments

@funshark
Copy link

funshark commented Jul 9, 2012

I'm trying to animate some gameobject with the animation helper and the offset property and the result is weird.
For example I've done a simple animation on offset Y from 0 to 60 and the object "moves" only to 20 and stops itself.

@jwu
Copy link
Contributor

jwu commented Jul 10, 2012

Hi Funshark,

If you wish to move an sprite, you can just animation transform.position without handling its offset. The texture offset is good for sprite animation in sync the original animation, and it will affect the sprite.scale and ppfScale. So you probably have scale in those value that make the result small.

@jwu jwu closed this as completed Jul 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants