pixijs / animate-extension

Custom Platform Plugin for Adobe Animate CC (Formerly Adobe Flash CC) - to export animation for the PixiJS renderer
128 stars 25 forks source link

How to read tween easing properties from Publisher.cpp #65

Closed Ch1pStar closed 3 years ago

Ch1pStar commented 5 years ago

I'm trying to change the export format, specifically to export tweens as first, last frame and easing, instead of frame by frame. I've been digging through the c++ code, but there aren't any references to easings, hopefully someone in here knows the API better. My guess is it has something to do with the DOM::PITimeline structure that is passed to the publish method, but I cant find any definitions for it and from what I understand it is created before the extension code

bigtimebuddy commented 5 years ago

I think we need to update to the latest Animate custom publish doc API library which provides supports for describing tweens instead of converting to frames.

Ch1pStar commented 5 years ago

Ouch, sounds scary! Would that mean rewriting the whole publisher code? Also are the header files provided in here (Animate Custom Platform SDK -> Cross Platform) what you are referring to?

bigtimebuddy commented 5 years ago

Yup. I don’t think it’s a totally rewrite, but it’s some work.