- Editado
Issue, exported frames not centered, causing jumpiness
Greetings,
I am running into an issue that I am hoping someone can help me with. I have exported a few animations as frames. I am using TexturePacker to create the Sprite Sheet. When I add them into the game it jumps and it seems like the character is not centered which is causing the jumping when you switch from one animation to another.
I have set the character's X axis of the root to 0 and made sure all animations are all centered correctly in Spine. I have also added a 100% transparent background 1200 x 1200 so that all the frames will be the same size and centered. It is much better but there are still some jumpiness. if I go back and make adjustment to the Y then the X is an issue and vise versa. I am at my wits end!!
Has anyone ran into this issue and has a solution?
The game Engine that I am using is Corona SDK Pro and the latest version of TexturePacker (V3.5.3).
Your help is greatly appreciated.
JCP_13
If you look thru the image files, are the characters lined up? If so, then something is wrong with how you draw the images.
Maybe post the last image and first image of the next animation, as well as screenshots of those poses in Spine.
It looks like Spine is not exporting the animations in perfect center. I gave up after a week and a half of trying to get Spine to export it correctly. I ended up fixing it through code. It's not a great scenario and it takes a long time because I have to make the adjustment to all animations.
I did provide Søren my project and I applied all of his suggestions. It made it better but still did not make it perfect. It would be great if this issue could be fixed so we don't have to work so hard to make the animations match.
Currently to see what the problem is I need to download your project, create a 3000x3000 transparent image, place it in the project (which may not be in the same position you are using it!), do the export, and compare the the images to your project to see what the actual problem is.
We are happy to help, but there are a lot of things that need our attention. You can make it easier to help you by posting or emailing the first and last image of the animation, as well as screenshots of those exact same poses as they appear in Spine.
Is your 3000x3000 image positioned on integer coordinates? Maybe that helps.
thank you for your reply, can you please explain what is positioned on integer coordinates?
thanks
An integer position is something like x=10, y=12
A float position is something like x=10.2, y=12.3