大约有 1,547 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0060 秒)
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 微信小游戏与加载图片时不会触发erroe事件 请教下微信小游戏的内存和数据缓存? List滑动条会引起单元格上的按钮点击...
来源: Laya_社区 发布时间: 20170310
...(x, y, r1, color1, color1, 0); function on_down(event) { console.log("_____ kbRing2\n"); } } function laya_test() { Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); var ring = new myRing(600, 300, 18, "#087729", 40, "#a87729"); La...
来源: Laya_社区 发布时间: 20161221
...ddChild(this.playerHB); } private aaa():void { this.playerHB.x += this.bb; console.log( this.playerHB.x); if(this.playerHB.x > 1000) { this.bb *= -1; } if(this.playerHB.x < -100) { this.bb *= -1; } } 控制一直6像素来回移动 它就会出现颤抖 不管几像素都会 附件 : --> testL...
来源: Laya_社区 发布时间: 20180102
...2); Laya.stage.addChild(letter); letter.on("click", this, (function(para){ console.log("z:"+z+";para:"+para+";letterList[para]:"+letterList[para]); return function () { alert("z:"+z+";para:" + para + "I'm letter " + letterList[para]); }; })(z)); } 控制台结果: z:0;para:0;letterList[para]:A z:1...
来源: Laya_社区 发布时间: 20180810
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 本地调试加载本地图片都报错 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 Animation 的createFrames 使用...
来源: Laya_社区 发布时间: 20180803
...ber = -1; public pageWidth: number; public pageHeight: number; onStart() { console.log("Game start"); Laya.loader.load("resources/res/spineboy-pma.skel", Loader.SPINE).then((templet: SpineTemplet) => { this.skeleton = new SpineSkeleton(); this.skeleton.templet = templet; this.owner.addChild(this....
来源: Laya_社区 发布时间: 20230703
... this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60; // this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2019-01-17 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20190117
...ya.Event.CLICK,this,this.onSkinBtnUseClick) } private onSkinBtnUseClick(){ console.log("使用"); } //btn 有宽高 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 o⃕!o⃕一覺盜兲喨 赞同来...
来源: Laya_社区 发布时间: 20180828
...件格式(已测试格式:wav,ogg,mp3,都不能加载) 3.通过console.log(Laya.loader.load(“音乐文件资源目录”)),打印日志能获取到对象,返回值不为undefined 其他:在没有加载音乐的情况下,通过Laya.SoundManager.playMusic (“音乐资...
来源: Laya_社区 发布时间: 20191114
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 两个问题 有元件支援视频流渲染吗? Image元...
来源: Laya_社区 发布时间: 20171127