Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can i use pixi-animate in pixijs ? #85

Open
windreamlion opened this issue Nov 16, 2018 · 3 comments
Open

can i use pixi-animate in pixijs ? #85

windreamlion opened this issue Nov 16, 2018 · 3 comments

Comments

@windreamlion
Copy link

windreamlion commented Nov 16, 2018

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!

@bigtimebuddy
Copy link
Member

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

@windreamlion
Copy link
Author

Is there a demo code for reference? thanks

@ngcamu
Copy link

ngcamu commented Feb 13, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants