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

Smart Sprite Sheet Generation Rotation/Trim #714

Closed
cocojoe opened this issue Jul 24, 2014 · 4 comments
Closed

Smart Sprite Sheet Generation Rotation/Trim #714

cocojoe opened this issue Jul 24, 2014 · 4 comments
Labels

Comments

@cocojoe
Copy link
Member

cocojoe commented Jul 24, 2014

Issue with image jitter caused by rotation and/or trim combination.

More information:
http://forum.spritebuilder.com/t/jitter-in-animation-when-using-smart-sprite-sheet/882/21

Related:
#703

@cocojoe cocojoe added the bug label Jul 24, 2014
@cocojoe
Copy link
Member Author

cocojoe commented Jul 31, 2014

Have looked into this and don't believe there is a problem with rotation. It is most likely the trim, this seems to work just fine for the most part however some users do have projects that they have already trimmed pixel perfect and if that image has any transparent lines adjacent to an edge it will get an extra trim, which modifies the rect size and hence jitter.

I did a quick hack to disable trim in sprite sheet creation for a couple of users to feedback on first.

https://www.dropbox.com/s/r4iy2xjie7bs5v0/SpriteBuilderNoTrim.zip

@NickyWeber
Copy link
Contributor

Should be easy to turn this into a project setting if needed.

@cocojoe
Copy link
Member Author

cocojoe commented Aug 1, 2014

Linking in cocos2d/cocos2d-objc#893 as some relevant discussion.

@vlidholt
Copy link
Contributor

This is fixed now: 0166796

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants