ftguy2018 Posted October 3, 2018 Share Posted October 3, 2018 Hello, can we change the renderer clearBeforeRender property outside of the config.js file ? I had like to turn it ON/OFF based on the scene but it seems that game.renderer.clearBeforeRender does nothing if changed during the scene init.... Please kindly advise, Quote Link to comment Share on other sites More sharing options...
enpu Posted October 3, 2018 Share Posted October 3, 2018 Try game.Renderer.clearBeforeRender instead of game.renderer Quote Link to comment Share on other sites More sharing options...
ftguy2018 Posted October 3, 2018 Author Share Posted October 3, 2018 @enpu game.Renderer.clearBeforeRender = false does nothing either, I am using the pixi plugin and nothing is working but the config.js in webgl, if not webgl then it seems to work, also the sprite.tint is not consistent between webgl and canvas, in one case it seems to modulate the color (webgl) while in canvas mode it does blend the sprite with the color based on the tintAlpha....so totally different, can we get the same on both renderers ? or even better, can we decide which one to use in a way that it will be the same on both ? Quote Link to comment Share on other sites More sharing options...
enpu Posted October 4, 2018 Share Posted October 4, 2018 Ah yes so this is issue with Pixi plugin. Added to roadmap, thanks! 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.