lei Posted April 23, 2019 Share Posted April 23, 2019 I'm totally new to pixijs and to game development in general. I need a help in fixing this error in devices that use canvas if webGL is not available. Im using projection plugin and it is seems like the error is from projection.sprite2d. I am researching about the issue and found PIXI.CanvasRenderer.registerPlugin but don't know how to use it. please help I'm stuck with this issue. TIA Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 23, 2019 Share Posted April 23, 2019 If you use projection for any kind of... projections , not just for ISO stuff, then I doubt it will work with canvas. otherwise just make "renderer.plugins['sprite2d'] = renderer.plugins['sprite'];" lei 1 Quote Link to comment Share on other sites More sharing options...
lei Posted April 23, 2019 Author Share Posted April 23, 2019 thank you! it works! 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.