canvasman Posted March 14, 2019 Share Posted March 14, 2019 Should I set renderer transparent and change css background color for canvas or body element or pass backgroundColor to renderer options? Is there some performance difference? Quote Link to comment Share on other sites More sharing options...
AnDG Posted March 15, 2019 Share Posted March 15, 2019 Why do you want to do that? Instead of using a transparent element in pixi and using css to convert its color, create that transparent element with the color you want to use it. That would be better. I usually do so to synchronize source code. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 15, 2019 Share Posted March 15, 2019 Yes, you can do that, its a valid tecnnique in case you need some strange things. 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.