CloudKidStudio / PixiFlash

A library for bridging CreateJS animations from Flash for use in Pixi.js
http://cloudkidstudio.github.io/PixiFlash/docs/
MIT License
78 stars 7 forks source link

Upgrade to work with PIXI v4 #6

Open chipbell4 opened 8 years ago

chipbell4 commented 8 years ago

I think there's a few things that were renamed during the transition which causes a couple things to potentially break. I think the big one is probably AbstractFilter becoming simply Filter. But there may be others that I don't know about, since I'm not super familiar with the changes made.

andrewstart commented 8 years ago

That's an easy fix to make. There have also been changes to the destroy() method of DisplayObjects and its subclasses, which we would probably want to take advantage of.

ghost commented 7 years ago

Was there any progress made on this?

andrewstart commented 7 years ago

I have not had time to take a look at it.

andrewstart commented 7 years ago

I've just pushed updated code to master that uses PIXI ^4.2.0. All of our examples seem to work fine, but if you have anything ready to test with it to make sure there aren't any obvious issues, I'd appreciate if you could test it for me. After that's done, I'll make bower/npm releases.

ghost commented 7 years ago

I tried it out, but ran into an issue where all the animations are black. I am using Springroll's fork of Pixi v4 : https://github.com/SpringRoll/pixi.js/pull/3

andrewstart commented 7 years ago

Hmm, I haven't tested anything with that branch (that should also be updated again). I will have to take a look at it this weekend.

Tousen commented 7 years ago

mcdon00, had the same issue, adding to all displayObjects default value _tintRGB = 16777215 fixed that, but now I can see that something strange happend with rotation of objects (actual rotation become 0)

bigtimebuddy commented 7 years ago

Not related to this issue, but I would strongly suggest that you all take a look at PixiAnimate which is our newest solution to exporting Pixi content natively from Adobe Animate (https://github.com/jiborobot/pixi-animate-extension). You can get it here: https://creative.adobe.com/addons/products/14345

This works with the latest version of Pixi v4.