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

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

151. 打ios包单机版运行游戏黑屏 [ 51%]

...运行到手机上(iphone 6)显示黑屏,如下图   并且报这个alert问题。。是哪个标签错误吗?   路径都是按照文档说明要求填写的   附件 : --> 2018-02-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

152. LayaAPP打包后laya.webgl.j错误,浏览器测试没问题 [ 51%]

LayaAPP打包后laya.webgl.j错误,浏览器测试没问题 I/LayaBox: alert=出错啦,请把此信息截图给研发商 TypeError: Cannot read property '_glTexture' of undefined http://stand.alone.version/lib ... 5906: TypeError: Cannot read property '_glTexture' of undefined _i32b[2]=isloaded?v...

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

153. 从网络上下载的BMP图片二进制数据后,如何赋值给 laya.ui.Image [ 51%]

...i.Image();     }     function cb_onFail(message)     {         //alert(message);      } 2017-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自:   直接像传递url地址...

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

154. 射线BUG [ 51%]

...his.ray, this._outHitInfo, 30, 13); if (this._outHitInfo.distance !== -1){ alert("666"); } this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); //绘出射线 this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); ...

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

155. 关于遍历产生的sprite的点击事件,急,大神帮看哈 [ 51%]

...0; sp.index=i; sp.size(50,50); sp.on(Laya.Event.CLICK,this, function (e) { alert(e.target.index); },[{target:sp}]) Laya.stage.addChild(sp); }   2017-02-21 1 0 分享 微博 QZONE 微信 ayiui4566 赞同来自: e.target有index属性?会检测期间报错的吧。 2017-12-11 0 0 分享 微博 QZON...

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

156. 监听不到Laya.Event.RESIZE事件 [ 51%]

...ageChange); } protected onStageChange(event:Event):void { this.bg.y = 180; alert("11111111111111") var desWidth:Number; var desHeight:Number; //获取窗口显示区的宽度。 desWidth=window.innerWidth; //获取窗口显示区的高度。 desHeight=window.innerHeight if(desHeight!=this.sourceHeig...

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

157. layaAir 打包成apk后在真机上运行 使用粒子时报错 [ 50%]

...layaAir 打包成apk后在真机上运行 使用粒子时报错 I/LayaBox: alert=出错啦,请把此信息截图给研发商            TypeError: this._emitter.advanceTime is not a function            http://192.168.1.240:8900/bin/ ... :831: TypeError: this._emitter.advanceTime is not...

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

158. 个人笔记:失焦或静音状态下播放背景音乐无效的解决方案 [ 49%]

... ext=Utils.getFileExtension(url); if (ext !="wav" && ext !="ogg"){ alert("The sound only supports wav or ogg format,for optimal performance reason,please refer to the official website document."); return null; } } if(!SoundManager._isActive || SoundManager._muted || SoundManager._soundMuted)...

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

159. Laya的安卓二次开发主动调用js层,无法实现传回数据给js层 [ 49%]

...on.CallBackToJS(JSBridge.class, "authWxToLaya", "aabbcc"); ConchJNI.RunJS("alert('hello Laya')");设置就连这种方式都不行是不是因为拉起app之后,有些逻辑需要做特殊的处理吗???? 附件 : --> 2020-01-13 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 ...

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

160. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 49%]

...= Utils.getFileExtension(url); if (ext != "wav" && ext != "ogg") { alert("The sound only supports wav or ogg format,for optimal performance reason,please refer to the official website document."); return null; } } if (_soundMuted) return null; } var tSound:Sound; if (!Browser.onMiniGame) { t...

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