animate icon indicating copy to clipboard operation
animate copied to clipboard

can i use pixi-animate in pixijs ?

Open windreamlion opened this issue 7 years ago • 3 comments

I have had a problem for a long time. Can I use pixi-animate to load files created by animate cc in pixijs? After all, animate cc creates animations very conveniently. thanks!

windreamlion avatar Nov 16 '18 10:11 windreamlion

Yes. You need to use the pixi-animate-extension, to export PixiJS content from Animate.

bigtimebuddy avatar Nov 16 '18 17:11 bigtimebuddy

Is there a demo code for reference? thanks

windreamlion avatar Nov 23 '18 01:11 windreamlion

Open the html page exported from Animate and you'll see the standard way to work with the assets.

var scene = new PIXI.animate.Scene(800, 600, { view: document.getElementById("stage"), backgroundColor: 0xffffff, antialias: true }); scene.load(lib.Main);

Or are you looking for information on using a pixi-animate Scene with other display objects in a pixi-js Application?

ngcamu avatar Feb 13 '19 09:02 ngcamu