-
Notifications
You must be signed in to change notification settings - Fork 10
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
Animate cc optimize Animation.json with meaningless key #4
Comments
Thanks a lot for making me aware of this! It's not a bad idea that they're now offering this option, as those keys really take up a lot of space. Could you please send me a complete sample animation, i.e. including a texture atlas, so I can test this? You could e.g. open up the "ninja girl" animation that's part of this repository and export it with this setting. I'm afraid I'm currently without a CC subscription. Thanks in advance! |
Thanks, Daniel! This is your ninja-girl files using optimize Animation.json. |
I just made a first attempt at adding compatibility with the new export keys! I'd say you simply try out the new version with your actual animation. If that's wrong, too, then I'll need to do some more research. 😉 |
I just had tried with my animations. And it works quite well!!! But.. there is one strange thing. It's not your fault... why Adobe Animate CC exports texture atlas files with suffix '1' ?? Animation.json because of this, I can use these files after remove suffix '1'. Anyway.. Thanks for your fast response. I'm very happy with your extension. If I find something wrong, I will tell you again. |
That's good news! Thanks a lot for trying it out! 😄 As for the suffix ... hm ... could this maybe be the scale factor? If you set the scale factor on, say, "2" on export, do you then get that suffix instead? If it's like that, I could maybe incorporate that into the code. |
I just changed the file name logic slightly — the extension now recognizes the "spritemap" files when they end with one or more digits. So you don't need to rename them any longer! As for the resolution: if you could send me a sample with two scale factors (ideally "1" and "2"), I could check which changes are necessary for this, too! Thanks in advance! :-) I closed this issue, because there's actually another one (#2) for the resolution. |
Thanks Daniel! Here is ninja-girl-1(scale x1), ninja-girl-2(scale x2) files. |
Thanks a lot for those samples! I'll have a look! 😄 |
Hi Daniel!
I am always thankful for your efforts.
Thank you for Starling, and this extension. I'm appreciate with this.
Anyway, the Animate CC's new feature - optimize Animation.json - makes Animation.json with meaningless names.
https://helpx.adobe.com/animate/using/create-sprite-sheet.html?mv=product&mv2=an#texture-atlas
the result is like this
full result is attached.
Animation.zip
I'm happy with this new feature added in new Animate CC 19.2, but this result was not expected.
The text was updated successfully, but these errors were encountered: