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

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

131. 网络和格式-XML [ 83%]

...item aitem bsomethings..."; this.proessXML(xmlValueContainsError); console.log("\n"); this.proessXML(xmlValue); } // 使用xml proessXML(source) { const Utils = Laya.Utils; let xml; try { xml = Utils.parseXMLFromString(source); } catch (e) { console.log(e.massage); return; } this.printDirectChildren...

来源: Laya2.0_示例 发布时间: 20251130

132. 3d项目安卓包。部分手机报加载3d资源报错 [ 82%]

...en /dev/block/mmcblk0p34 success     item id=1333,0x682496     criticallogService::ACTION_REQUEST_WRITE_RAW,size:207, content is  <multimedia-fence_timeout-begin>     LOGTYPE: 309     log-time: 2018-08-20 16:53:51     log-buildTime: R7Plusm_11_160822     log-colorOS: V2.1     lo...

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

133. 动态阴影被切割了?为啥没有显示完成的阴影 [ 82%]

...x = scene.addChild(new myCube(0.1, 0.1, 11.5, colorCalc(), 0, 1)); console.log(box); } function addTestBox() { var box = scene.addChild(new myCube(0.1, 0.1, 11.5, colorCalc(), 0, 1)); console.log(box); } function addFirstBox() { var box = scene.addChild(new myCube(1, 1, 0.5, colorCalc(), 0)); } func...

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

134. laya1.0 的3D项目,GPU型号为Adreno 405的加载3D资源时会报错 [ 82%]

...en /dev/block/mmcblk0p34 success     item id=1333,0x682496     criticallogService::ACTION_REQUEST_WRITE_RAW,size:207, content is  <multimedia-fence_timeout-begin>     LOGTYPE: 309     log-time: 2018-08-20 16:53:51     log-buildTime: R7Plusm_11_160822     log-colorOS: V2.1     lo...

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

135. socket与node服务端连不上?按照官方案例 [ 82%]

...rrorHandler); function openHandler(event){ //正确建立连接; console.log("链接"); } function receiveHandler(msg){ ///接收到数据触发函数 console.log("接受"); } function closeHandler(e){ //关闭事件 console.log("关闭"); } function errorHandler(e){ //连接出错 console.log("...

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

136. 在微信小游戏真机wx.onShow和wx.onHide中的currTimer的问题 [ 82%]

...w.wx.onHide(_onHideWX); } private function _onShowWX(res:*):void { console.log("wx.onShow:",res); console.log(Laya.timer.currTimer); } private function _onHideWX():void { console.log("wx.onHide:"); console.log(Laya.timer.currTimer); } wx.onShow.currTimer == wx.onHide.currTimer 这两个居然相等-...

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

137. 加载-加载序列 [ 82%]

...d), null, null, 2, false); })(); function onAssetLoaded(texture) { console.log(texture.source); // 恢复默认并发加载个数。 if (++numLoaded == 3) { Laya.loader.maxLoader = 5; console.log("All done."); } } })();module laya { import Texture = Laya.Texture; import Handler = Laya.Handler; expor...

来源: Laya_示例 发布时间: 20251130

138. 打包安卓Android studio黑屏 [ 82%]

打包安卓Android studio黑屏 Laya2.0实例打包安卓,打开后LayaLogo加载解锁,就黑屏了。 2019-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 刘海东 赞同来自: 1111111111 2019-07-23...

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

139. 骨骼动画-适配版Spine [ 82%]

...ton.on(Event.STOPPED, this, this.play); this.play(); } onError() { console.log("parse error"); } play() { console.log("1111111111"); if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0; } this.skeleton.play(this.index, false, true); } } new SpineBinary;import Browser = Laya.Browser; imp...

来源: Laya2.0_示例 发布时间: 20251130

140. LayaNative 日志打印 [ 82%]

LayaNative 日志打印 console.log在App Android 无法打印日志,什么接口才可以在Android App下打印日志 2018-08-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你需要...

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