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

Cannot add child stage pixijs and pixi animate #79

Open
sahdev0 opened this issue Jun 23, 2018 · 1 comment
Open

Cannot add child stage pixijs and pixi animate #79

sahdev0 opened this issue Jun 23, 2018 · 1 comment

Comments

@sahdev0
Copy link

sahdev0 commented Jun 23, 2018

Hello,

I am using PixiJs 4.4.2 and Pixi-animate to load stages generated by Adobe animate. in my project,

I have divided my project into components and generated adobe stage pixijs code for each component. Now want to combine them into one project. I have succeeded to load one component as the main stage but cannot load other components as child.

Here is my code, where I have loaded my main stage:

var waterfall = lib.Waterfall_PixiAnimate;
var bear = lib.reference_BearLevel_PixiAnimate;

var salmon = new PIXI.animate.Scene(3840, 2160, {}, true)
document.body.appendChild(salmon.view);
salmon.load(waterfall)

In the above code, I have succeeded to add waterfall stage but on that stage, I want to render my child stage bear but cannot render on waterfall stage.

How can I add child stage?

@matthewww
Copy link

matthewww commented Feb 13, 2019

I think this might answer your query: #78

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

2 participants