coter Posted August 29, 2015 Share Posted August 29, 2015 In a flash the size of the workspace is stored in Stage. And how to find them pixi.js? Does this ideology framework? Quote Link to comment Share on other sites More sharing options...
xerver Posted August 29, 2015 Share Posted August 29, 2015 The canvas is the stage. Quote Link to comment Share on other sites More sharing options...
coter Posted August 30, 2015 Author Share Posted August 30, 2015 The canvas is the stage.var stage = new Container();var main = new Container();var backgroun = new Backgroun(); // extends Graphicsstage.addChild(main);main.addChild(backgroun);How to find out the size stage in the construct Background? Quote Link to comment Share on other sites More sharing options...
xerver Posted August 30, 2015 Share Posted August 30, 2015 renderer.view is a canvas element, use that size. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.