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

大约有 1,547 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0060 秒)

1231. list 数据不会及时渲染 [ 50%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 微信小游戏与加载图片时不会触发erroe事件 请教下微信小游戏的内存和数据缓存? List滑动条会引起单元格上的按钮点击...

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

1232. 绘制形状时事件不触发 [ 50%]

...(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

1233. Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 [ 50%]

...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

1234. 关于闭包的问题 [ 50%]

...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

1235. 使用animation时,动画要用的图片和其他的资源图片一起被打包为atlas和png文件,这时候该怎么用动画? [ 50%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 本地调试加载本地图片都报错 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 Animation 的createFrames 使用...

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

1236. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 50%]

...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

1237. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 50%]

... 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

1238. list中的item类中的button注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 [ 50%]

...ya.Event.CLICK,this,this.onSkinBtnUseClick) } private onSkinBtnUseClick(){ console.log("使用"); }   //btn 有宽高 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 o⃕!o⃕一覺盜兲喨 赞同来...

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

1239. LayaAir IDE 1.8.5发布vivo小游戏Laya.loader.load()方法加载音乐文件出现问题 [ 50%]

...件格式(已测试格式:wav,ogg,mp3,都不能加载) 3.通过console.log(Laya.loader.load(“音乐文件资源目录”)),打印日志能获取到对象,返回值不为undefined 其他:在没有加载音乐的情况下,通过Laya.SoundManager.playMusic (“音乐资...

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

1240. 能把UI渲染在3D平面上吗 [ 50%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 两个问题 有元件支援视频流渲染吗? Image元...

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