CreateJS / Zoe

Zoë is an open source tool for generating spritesheet images and frame data from SWF files. It enables illustrators to maintain a familiar workflow while generating animations for EaselJS and other formats.
328 stars 101 forks source link

capture frames on EXIT_FRAME instead of ENTER_FRAME #10

Closed onedrop closed 11 years ago

onedrop commented 11 years ago

I have a swf of a game character and it has some timeline code to color certain features of the character. I want to use Zoe to export spritesheets of that character in several different color combinations simply by changing some initial variables.

I'm getting mixed results. The spritesheet that Zoe generates does not always color every feature on every frame.

My thought was to change the CaptureSWF util class to run on EXIT_FRAME instead of ENTER_FRAME so that each frame's scripts would have a chance to run.

I could be wrong though, a render may not have occurred at that point. Any thoughts on this? Is what I want to achieve beyond the scope of Zoe?

lannymcnie commented 11 years ago

Good suggestion. We will look into it.

onedrop commented 11 years ago

Thanks. I ened up writing a JSFL script to recolor the character's library symbols. This way I don't have to do any coloring at runtime and I can just publish it and import it into Zoe.

wdamien commented 11 years ago

Can you try this new build I uploaded here -> Zoe_v0_3_4.zip? I changed all the capture code to use EXIT_FRAME, so it should resolve your issue.

wdamien commented 11 years ago

This has been fixed with the public version of zoe.