手机浏览器上黑屏的问题,我这边没能重现。
不过摇杆的问题,在视网膜模式下,确实是存在
你注释或删除一下,Roker.ts里的rockerMove方法里的如下代码:
this._currentMouse.x = Math.round(e.touchPos.x / Laya.stage.clientScaleY);
this._currentMouse.y = Math.round(e.touchPos.y / Laya.stage.clientScaleY);
this.currRockerbox.globalToLocal(this._currentMouse, false);
改为如下方式:[code] // this._currentMouse.x = Math.round(e.touchPos.x / Laya.stage.clientScaleY);
// this._currentMouse.y = Math.round(e.touchPos.y / Laya.stage.clientScaleY);
// this.currRockerbox.globalToLocal(this._currentMouse, false);
this._currentMouse.x = e.stageX;
this._currentMouse.y = e.stageY;
this.currRockerbox.globalToLocal(this._currentMouse, false);
this._currentMouse.x /= Laya.stage.clientScaleY;
this._currentMouse.y /= Laya.stage.clientScaleY;[/code]
感谢反馈,我们会在3.0.7里修复好。