gree / lwfs

LWFS - LWF conversion/preview system for designers/developers
Other
59 stars 16 forks source link

Is it possible to update a blending mode? #6

Closed Gauleiter closed 9 years ago

Gauleiter commented 9 years ago

I have a 'movie' object in my swf, which has several keyframes, and each of them changes a blending mode. E.g. Darket->Multiply->Add. As far as I can see right now swf2lwf.rb monitors only a blending mode from the very first keyframe of an object. Is it possible to do monitoring through all keyframes somehow (perhaps some config settings?) with current swf2lwf version? Or how difficult it would be to add this possibility?

KojiNakamaru commented 9 years ago

There was a limitation that you pointed out. Taking a cue from this issue, Kazuki Sakamoto (the author of LWF) has just enhanced swf2lwf and corresponding runtime implementations. Please try the latest LWFS release: https://github.com/gree/lwfs/releases/tag/20141212-2155 . NOTE: LWF doesn't support all blending modes. Currently supported modes are the followings:

"normal"
"layer"
"multiply"
"screen"
"add"
"subtract"
"alpha"
"erase"
Gauleiter commented 9 years ago

Yep! It works! Thank you very much for your feedback and such a quick fix!