Open chipbell4 opened 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.
Was there any progress made on this?
I have not had time to take a look at it.
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.
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
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.
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)
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.
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 simplyFilter
. But there may be others that I don't know about, since I'm not super familiar with the changes made.