achexi Posted December 15, 2014 Share Posted December 15, 2014 In the older versions of pixi I used to be able to create a canvas in my html document and do something like this:view = document.getElementById('game-canvas');renderer = PIXI.autoDetectRenderer(this.GAME_WIDTH, this.GAME_HEIGHT, view);However in the newer versions of pixi the canvas simply does not appear on screen. I don't get errors or anything, the only way I can get a canvas is if I let pixi make one for me via something like:renderer = PIXI.autoDetectRenderer(this.GAME_WIDTH, this.GAME_HEIGHT);document.body.appendChild(renderer.view);What's changed and what must I do to force PIXI to use a canvas I make on the screen? Quote Link to comment Share on other sites More sharing options...
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.