大约有 427 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...说一下思路?或者上完成的代码? LoseFocus(){ console.log("失去焦点") this.NowPlayMusic.stop(); } GetFocus(){ console.log("获取焦点"); Laya.SoundManager.stopMusic(); Laya.SoundM...
来源: Laya_社区 发布时间: 20200220
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 请教下微信小游戏的内存和数据缓存? 官网示例摇一摇报错,就解决方案 【BUG备忘录】关于Tween动画无法正常作用问题-...
来源: Laya_社区 发布时间: 20190411
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 请教下微信小游戏的内存和数据缓存? 请问从远程网络获取的json数据,怎么保存在本地内存之中呢或本地保存? 聊天室...
来源: Laya_社区 发布时间: 20180116
...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
....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
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 请教下微信小游戏的内存和数据缓存? 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 打包a...
来源: Laya_社区 发布时间: 20181130
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 相对屏幕坐标 radio group 文字和图片的相对位置怎么设置,比如我要把文字设在图片中间 三国塔防游戏!终于开发完了,...
来源: Laya_社区 发布时间: 20180710
....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
...teImg(280,50); //添加红色颜色滤镜效果 img.filters = [redFilter]; console.log('b'); } /**创建灰色滤镜位图**/ private createGrayFilter():void{ //颜色滤镜矩阵,灰色 var colorMatrix:any = [ 0.3086, 0.6094, 0.0820, 0, 0, //R 0.3086, 0.6094, 0.0820, 0, 0, //G 0.3086, 0.6094, 0.082...
来源: Laya_社区 发布时间: 20200522
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 纹理截取后内存释放不了 Text的中划线(删除线) list如何如何获取选中...
来源: Laya_社区 发布时间: 20180728