Azern Posted February 6, 2020 Share Posted February 6, 2020 I have some trouble that I don't know what happen I just want to change the background color of my renderer here var webGLRender = new PIXI.Renderer({ antialias:true, width:300, height:400, backgroundColor:0xf0f0fe}) as you see, the color there is not black, it's some grayish. But when I see the page, it's just black. The screen size is correct, only the color that's not working. I've also tried using option as _backgroundColorRgba and _backgroundColorString but still not working. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 6, 2020 Share Posted February 6, 2020 AAbout question in the head: https://github.com/pixijs/pixi.js/wiki/v5-Custom-Application-GameLoop As for backgroundColor - it works in pixijs examples, you should debug whats happenning. 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.