• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)

1111. 设置app开始时的动画报错 [ 52%]

...是ts还是js还是as wq • 2018-04-18 11:30 ts wq • 2018-04-18 10:59 if(window.loadingView){ nPercent+=33; window.loadingView.loading(nPercent); } 我看了呀,但是我在ide里用 window.loadingView 有红线啊 wq • 2018-04-18 11:00 使用window.loadingView 编辑器 提示 file: 'file://...

来源: Laya_社区 发布时间: 20180418

1112. 打包apk成功,然而安装时app的图标并没有更换 [ 52%]

...utoClose=false config.js内容入下:var loadingView=window.loadingView; if(loadingView) { loadingView.loadingAutoClose=false;//false:自定义进度条 ture:使用laya默认进度条 loadingView.bgColor("#FFFFFF");//设置背景颜色 loadingView.setFontColor("#ffff00");//设置字体颜色 loa...

来源: Laya_社区 发布时间: 20161202

1113. layaPlayer无法获取canvas.toDataURL数据 [ 52%]

...64Str => { base64Str = base64Str.split(",")[1]; console.log(base64Str); if(Laya.Browser.window.conch) { // App 分享 let brdige = common.utils.ConchUtils.getBridge(); brdige.call("share", base64Str); } }); 2019-09-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

来源: Laya_社区 发布时间: 20180914

1114. 微信头像请求方式 [ 52%]

... @param {显示头像Img} showImg */ function getWXHead(headUrl, showImg){ if(headCache[headUrl] != undefined){ showImg.skin = (headCache[headUrl]); }else{ // 创建请求 let httpRequest = new Laya.HttpRequest(); httpRequest.once(Laya.Event.COMPLETE, this, (data)=>{ let byte = new Laya.Byte(data...

来源: Laya_社区 发布时间: 20190430

1115. Texture.getPixels在手机真机Native环境中会报错 [ 52%]

...DEMO了   getPixels(x, y, width, height) {             if (window.conch) {                 return this._nativeObj.getImageData(x, y, width, height); //this._nativeObj为空!             }             else {              ...

来源: Laya_社区 发布时间: 20220317

1116. 官方示例浏览器打开调试工具再关闭,鼠标点击无效! [ 52%]

...啊,你是按下拖动,input = true Anthony随遇 • 2023-08-03 10:51 if (!inst._touchInput) inst.handleMouse(ev, 0); 没有设置成false的代码走不到这了 Laya_phhh • 2023-08-03 11:02 @Anthony随遇:我这边看一哈 Anthony随遇 • 2023-08-03 11:05 麻烦了 Laya_phhh • 2023-08-...

来源: Laya_社区 发布时间: 20230803

1117. [0]2.13.3 drawToCanvas转出图片bug [ 52%]

...i= 0, len= dt.length; i < len; i += 4) { var alpha = dt[i + 3] / 255.0; if (alpha > 0) { dt /= alpha; dt[i + 1] /= alpha; dt[i + 2] /= alpha; } } //增加结束 ctx.destroy(); ....不变   如果用的压缩库,压缩库里也改一下。 2023-11-28 0 0 分享 微博 QZONE 微信 为什么...

来源: Laya_社区 发布时间: 20231110

1118. 如何清除sharedCanvas上一次绘制的内容 [ 52%]

.../ src/myOpenDataContext/index.js openDataContext.onMessage(data => {   if (data.command === 'render') {     // ... 重绘 sharedCanvas   } })   2018-06-11 1 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 ...

来源: Laya_社区 发布时间: 20180611

1119. 使用fairygui加载网络图片资源时,laya.core.js中的drawTexture会报错 [ 52%]

...为fairygui依赖laya.core.js,所以最后会调用到laya.core.js中, if (!tex.loaded){ tex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,[tex,args]); }执行到这段时,报了tex.once不是一个function的错,但是Texture继承自EventDispatcher,有once这个方法...

来源: Laya_社区 发布时间: 20180724

1120. dialog的popup方法不会关闭其他弹窗 [ 52%]

...log("注册功能暂未开放") });  }  showDialog(context: string) { // if (this.normalDialog) { // this.normalDialog.close(); // } this.normalDialog = new NormalDialog(context); this.normalDialog.popup(true, true); Laya.stage.addChild(this.normalDialog);  }  }     // 弹窗代码   class No...

来源: Laya_社区 发布时间: 20181216