设置了舞台背景透明但是微信小程序还是黑色背景
HakunaMatata052 opened this issue · comments
西格玛 commented
PIXI.autoDetectRenderer({width:stageWidth, height:stageHeight,'transparent':true,premultipliedAlpha:true,'view':canvas});
transparent是控制背景透明的吗?
一个可运行于微信小程序的PIXI引擎,通过模拟window环境,有些功能小程序无法模拟,就直接修改了PIXI引擎代码,最终使得PIXI引擎正常运行在小程序上
HakunaMatata052 opened this issue · comments
PIXI.autoDetectRenderer({width:stageWidth, height:stageHeight,'transparent':true,premultipliedAlpha:true,'view':canvas});
transparent是控制背景透明的吗?