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

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

341. 微信web页面贴图无法加载 [ 57%]

... filtering. WebGL: too many errors, no more errors will be reported to the console for this context. 但是在同一台手机上的qq浏览器、chrome上都是好的 这个是不是因为贴图太大了内存不够?有什么好的处理方法,或者有办法禁用Mipmap吗?   2018-03-30 添...

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

342. CPU优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 57%]

...Image("res/apes/monkey2.png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); ``` loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 1. **直接调用size设置:** ```typescript Laya.loader.load("res/apes/mo...

来源: Laya2.0_文档 发布时间: 20210714

343. 一次性加载四五个以上的sk资源会导致部分加载不出来 [ 57%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 分享:LayaAir下如何获取图集下的小图资源? 问题状态 最新活动: 2021-12-31 10:16 浏览: 5906 关注: 3 人 c416288806 • 2022-01-10 17:...

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

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

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

345. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 57%]

...e.runNodeScript(node.id, node.getComponent("MyScript").id, "test", "abc"); console.log(ret); 3、自定义一个函数,并执行。例如: //下面是场景进程的代码 //注意:IEditorEnv.regClass是必须的 @IEditorEnv.regClass() export class TestSceneScript { //注意:this是当前的...

来源: Laya3.0_文档 发布时间: 20251010

346. spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? [ 56%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 自定义场景类导出layaMaxUI.ts有前缀导致报错 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 FD 宏编译时 出现 试...

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

347. 阻止点击穿透问题 [ 56%]

...g) { Game.runing = true; Game.stepNum = Math.floor(Math.random() * 6) + 1; console.log(Game.stepNum) Animate.role(Game.stepNum); } },[this.items.shaizi]);  弹层的代码: this.prizeAlertLayer = new Sprite(); this.prizeAlertLayer.zOrder = 90; this.prizeAlertLayer.size(W, H);   let bg = new Spri...

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

348. [LayaAirIDE3]app打包问题 [ 56%]

...小游戏,只有个temprelease web端打包发布后能不能自动删除console.log 问题状态 最新活动: 2025-11-08 09:44 浏览: 1421 关注: 3 人 LayaAir小牛 • 2025-11-07 16:47 额 当前版本确实存在问题 正在修复 LayaAir小牛 • 2025-11-07 16:47 您的项目也是用了...

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

349. ui组件list数据源的疑问 [ 56%]

...ew TeUI(); var arr=; for(var i;i<6;i++){ arr.push({m_lable:"NO."+i}); } console.log(test.m_list) test.m_list.array=arr; Laya.stage.addChild(test); test.show(); })(); 但没有出来想看到的效果,个人对这个list.array不是很理解,我翻看了官网的其他文档和实例,也没...

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

350. LayaAir复杂数据对象 预加载 [ 56%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 怎么获取对象的坐标 问题状态 最新活动: 2016-05-05 17:04 浏览: 2379 关注: 3 人

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