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

AnimAssetManager with scaleFactor #2

Open
ll24llll opened this issue Aug 16, 2018 · 7 comments
Open

AnimAssetManager with scaleFactor #2

ll24llll opened this issue Aug 16, 2018 · 7 comments

Comments

@ll24llll
Copy link

ll24llll commented Aug 16, 2018

Right now AnimAssetManager does not receive the scaleFactor parameter. How could it be managed?

@PrimaryFeather
Copy link
Contributor

You're right, it seems I forgot to include the scale factor in the constructor, and to pass it on to the base class. I'm currently on vacation, but I can do that on Monday!

In the meantime, simply assign your custom scale factor to animAssetManager.textureOptions.scale. That should do it just as well!

@ll24llll
Copy link
Author

ll24llll commented Aug 17, 2018

Dear Daniel,
I tried it but textures and animations are messed up.

        var assets:AnimAssetManager = new AnimAssetManager();
        assets.textureOptions.scale = contentScale;

Without setting contentScale animations are fine but everything has wrong size.

@PrimaryFeather
Copy link
Contributor

Hm ... well, when Animate CC creates those textures, it creates them with a scale factor of one — and unfortunately, it doesn't allow any tweaking of this factor. A scale factor of two would mean, for example, that the individual element-textures would be twice as wide and high.

That's why passing a scale factor different to "1" will lead to problems. Maybe that's why I didn't add that constructor argument.

Actually, we'd need to finally get Adobe to add such an option. Perhaps you can start such a thread in the Adobe forums or ask support — I did that already in the past, but for now, without success. 😞

@ll24llll
Copy link
Author

There are some threads related to this topic on adobe forums, here and here, they have not developed this feature yet. By the way thanks for your support. I try Dragon Bones for now, but it seems I have to create all animations inside Dragon Bones Pro again :-(

@PrimaryFeather
Copy link
Contributor

Yeah, having to recreate all those animations with Dragon Bones would be a huge effort, I can understand the severity of this issue. :-(

I just created a quick set of instructions how we can make Adobe aware of the limitations of this feature, and get them to implement the fixes. It would be great if you could follow those steps! See: #3

@ll24llll
Copy link
Author

I'm done with filling the adobe feature request forms. Hope we can get them to improve this feature. Thanks for your effort, nice job.

@PrimaryFeather
Copy link
Contributor

Thanks for filling out the forms! Hopefully, we can get Adobe to acknowledge the lack of those features, soon. After all, none of them should be very hard to implement!

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

2 participants