大约有 1,071 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 大量sprite如何优化性能 请教下微信小游戏的内存和数据缓存? 1.7.20beta有bug,帧属性面板打不开 laya如何重写console.log 打...
来源: Laya_社区 发布时间: 20241015
...ogressBar.value = 0; } this.progressBar.value += 0.05; } onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } } new UI_ProgressBar();module laya { import Stage = Laya.Stage; import ProgressBar = Laya.ProgressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; expo...
来源: Laya2.0_示例 发布时间: 20251130
....ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mA...
来源: Laya_示例 发布时间: 20251130
....ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(...
来源: Laya_示例 发布时间: 20251130
...setInterval明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全部注释掉频繁的点击页面也会卡住!!!!! 我在事件的处理函数中设置stopPropagation没有任何作用; 现在这个是一个很大的问题,...
来源: Laya_社区 发布时间: 20170323
...bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 // console.log(rankTexture); // var img = wxMgr.getOpenDataCanvas().toDataURL("image/png"); // this.view.image_rank_list.source = img; // var canvas_2d_ctx = canvas.getContext('2d') // canvas_2d_ctx.drawImage(wxMgr.getOpenDataCa...
来源: Laya_社区 发布时间: 20180426
...mg/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]); 为什么不能把Laya.Hander.create后面带的这个参数传到Function里面? 附件 : --> 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180621
...ctx.clear() const len = points.length; console.log("ppppppppppppppp ", points) ctx.drawPoly(0, 0, points, "#FFFFFF", "#FF00FF", 1) } 附件 : --> 2020-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20200428
...t fun = () => { let dt = new Date() console.log("=============>", (dt.getTime() - this.IndexFrame)); this.lbTips.text = this.lbTips.text + " " + (dt.getTime() - this.IndexFrame); this.IndexFrame = dt.getTime(); ...
来源: Laya_社区 发布时间: 20230807
...s.scene.cannonPhysicsSimulation.rayCast(this.ray,out); if(out.succeeded) { console.log(111); } } } 附件 : --> web.rar 2020-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 程程 赞同来自: 问题解决...
来源: Laya_社区 发布时间: 20200903