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

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

101. zip更新模式缓存是怎么读取的?? [ 71%]

... onEvent('downloadOK'); //let md5 = calcmd5(fs_readFileSync(localfile)); //console.log('md5='+md5); let zip = new ZipFile(); if(zip.setSrc(localfile)){ zip.forEach((id,name,dir,sz)=>{ if(!dir){ let buf = zip.readFile(id); //console.log("update "+name); let fid = window.appcache.hashstr('/'+name);...

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

102. Laya 2D粒子的渲染机制问题 [ 71%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2019-07-23 21:24 浏览: 745 关注: 1 人

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

103. 音乐播放 position 和 duration 问题 [ 71%]

...说一下思路?或者上完成的代码? LoseFocus(){         console.log("失去焦点")          this.NowPlayMusic.stop();      }     GetFocus(){         console.log("获取焦点");          Laya.SoundManager.stopMusic();         Laya.SoundM...

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

104. 如何解决开放域往主域发数据 [ 71%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 请教下微信小游戏的内存和数据缓存? 官网示例摇一摇报错,就解决方案 【BUG备忘录】关于Tween动画无法正常作用问题-...

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

105. 服务器Zlib数据 [ 71%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 请教下微信小游戏的内存和数据缓存? 请问从远程网络获取的json数据,怎么保存在本地内存之中呢或本地保存? 聊天室...

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

106. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 71%]

...ScreenPos(20,20); var pass = this.map.getTileProperties(0,idx - 1,'pass'); console.log('打印=======================================') console.log(idx, pass, this.map['_tileProperties'],this.map['_tileProperties2']); // 30 null {0:undefined} {} } }求官方给个回复 附件 : --> 2DTiled.zip 2019...

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

107. 获取sprite对象的 width和height为0 [ 70%]

....Rectangle = bg.getBounds(); var btBound: Laya.Rectangle = bg.getBounds(); console.log(bgBound.width/2) console.log(bgBound.height - 150) bt.pos(bgBound.width/2 - btBound.width/2,bgBound.height - 150) } } //启动游戏 new Game();打印结果: 0 -150 bgBound.width 和 bgBound.heigt 都为0  2016...

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

108. 发送出去,控制台还是为空,接收不对返回数据 [ 70%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 请教下微信小游戏的内存和数据缓存? 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 打包a...

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

109. layabox各项数据相对比较 [ 70%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 相对屏幕坐标 radio group 文字和图片的相对位置怎么设置,比如我要把文字设在图片中间 三国塔防游戏!终于开发完了,...

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

110. layaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta [ 70%]

....login({ success: function () { wx.getUserInfo({ success: function (res) { console.log('success', res) }, fail: function (res) { console.log("reject",res) } }) } }); 这段代码里的wx对象,报错如下 "wx is not defined" 2018-07-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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