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

Animations suffer from displaced images #21

Open
sacfan opened this issue Jul 13, 2013 · 9 comments
Open

Animations suffer from displaced images #21

sacfan opened this issue Jul 13, 2013 · 9 comments

Comments

@sacfan
Copy link

sacfan commented Jul 13, 2013

Hi Raymond,

We used Flash to create an animation. Each element was placed in a separate layer. When we run the .swf it looks perfect.

When we open it in SAC the animation falls apart. Here are some samples to show you what is going on.

Any ideas?

Thank you for a great tool!

screen shot 2013-07-13 at 12 58 20 pm
screen shot 2013-07-13 at 12 54 44 pm
screen shot 2013-07-13 at 12 55 55 pm
screen shot 2013-07-13 at 12 54 44 pm

@vkbsb
Copy link

vkbsb commented Jul 14, 2013

  1. This happens when the sprite image is changing across frames and is
    rotated.
  2. Sprites are not anchored at center.

On Sat, Jul 13, 2013 at 10:31 PM, sacfan notifications@github.com wrote:

Hi Raymond,

We used Flash to create an animation. Each element was placed in a
separate layer. When we run the .swf it looks perfect.

When we open it in SAC the animation falls apart. Here are some samples to
show you what is going on.

Any ideas?

Thank you for a great tool!

[image: screen shot 2013-07-13 at 12 58 20 pm]https://f.cloud.github.com/assets/5003507/793082/9af0cde4-ebdd-11e2-9042-ad871ea9d6cd.png
[image: screen shot 2013-07-13 at 12 54 44 pm]https://f.cloud.github.com/assets/5003507/793083/9af3848a-ebdd-11e2-96af-ed524a4023d6.png
[image: screen shot 2013-07-13 at 12 55 55 pm]https://f.cloud.github.com/assets/5003507/793084/9af5643a-ebdd-11e2-927c-cf698162ba3f.png
[image: screen shot 2013-07-13 at 12 54 44 pm]https://f.cloud.github.com/assets/5003507/793085/a53b698a-ebdd-11e2-885f-e89aa213e764.png


Reply to this email directly or view it on GitHubhttps://github.com//issues/21
.

@raymondlu
Copy link
Owner

thank you @vkbsb , you are right.
@sacfan , I will check your files later.
You can also have check in your fla files, and make sure the registration of every graphic symbol is center as @vkbsb said.

good day!

@vkbsb
Copy link

vkbsb commented Jul 15, 2013

@ raymondlu any fix for the "should not rotate when frames change"
limitation? we had to rework a lot of animations because of this.

On Mon, Jul 15, 2013 at 8:52 AM, raymondlu notifications@github.com wrote:

thank you @vkbsb https://github.com/vkbsb , you are right.
@sacfan https://github.com/sacfan , I will check your files later.
You can also have check in your fla files, and make sure the registration
of every graphic symbol is center as @vkbsb https://github.com/vkbsbsaid.

good day!


Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-20950264
.

@sacfan
Copy link
Author

sacfan commented Jul 15, 2013

As far as we know, and have checked it many times, the Sprites are anchored at center. The anchor point is in the center of the sprite. Which is a limitation that limits the animation, but is 100 times better that having to program all of the movements in Cocos.

We are not sure exactly what you mean by "This happens when the sprite image is changing across frames and is rotated." If this means that we will fail if we have a sprite that moves on the scene then we are doomed.

Every sprite is being worked in a separate layer in the timeline. Each sprite is a symbol. They are moved around in the work area with the anchor point in the center - with out modifying the anchor point.

I tried to upload the .fla but it does not allow me. Would like to email it so you can see it and tell us what we are doing wrong. it will be extremely appreciated.

Thanking you in advance,

Alan

@raymondlu
Copy link
Owner

you can find my email address in the help doc.
:-)

@raymondlu
Copy link
Owner

It seems that all your graphic symbol is not registered in center.
Please refer to my attachments.
"bad.png" is your fla file, "good.png" is mine.
"registration.png" is the dialog box when converting to graphic symbol.
bad
good
registration

@raymondlu
Copy link
Owner

@vkbsb I am sorry that I missed this "@ raymondlu any fix for the "should not rotate when frames change" limitation? we had to rework a lot of animations because of this."

can you give me some sample fla files?
right now i am a little busy on other project.
but maybe will have some time next month.
i will try to fix it.

@vkbsb
Copy link

vkbsb commented Jul 22, 2013

Hi,
I've sent you an email with the flash file. Thanks for all the help man.

On Mon, Jul 22, 2013 at 8:36 AM, raymondlu notifications@github.com wrote:

@vkbsb https://github.com/vkbsb I am sorry that I missed this "@
raymondlu any fix for the "should not rotate when frames change"
limitation? we had to rework a lot of animations because of this."

can you give me some sample fla files?
right now i am a little busy on other project.
but maybe will have some time next month.
i will try to fix it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-21322827
.

@zhangbl
Copy link

zhangbl commented Jul 17, 2015

@vkbsb Hi,how did you fix this?

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

4 participants