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

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

11. 微信web页面贴图无法加载 [ 86%]

...不出来,报错:[.Offscreen-For-WebGL-0x61872800]GL ERROR :0x0505 : glGenerateMipmap:  [.Offscreen-For-WebGL-0x61872800]GL ERROR :0x0505 : glTexImage2D:  [.Offscreen-For-WebGL-0x61872800]GL ERROR :0x0502 : glGenerateMipmap: Can not generate mips [.Offscreen-For-WebGL-0x61872800]GL ERROR :0x05...

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

12. 定时器 · LayaAir3.0文档 · LAYABOX [ 85%]

...st { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { //60帧后,图片的透明度变为0.5 Laya.timer.frameOnce(60, this, () => { this.Image.alpha = 0.5; }) } } 1.2 定时重...

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

13. 官方能不能支持图集打包工具能强制图集保持方形 [ 84%]

...补图 这个不太方便 如果官方不愿意支持 麻烦开源下AtlasGenerator.exe的源码 我们尝试自己支持  2021-01-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: 1) UI编辑...

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

14. 图集打包失败 [ 84%]

... newCmd: "D:/LayaAirIDE_beta/resources/app/out/vs/layaEditor/libs/TP/atlas-generator" "C:/Users/BQXH/AppData/Roaming/LayaAirIDE/packParam.json" layabuilder.max.js:5602 Waiting for pics packing layabuilder.max.js:10023 execute: "D:/LayaAirIDE_beta/resources/app/out/vs/layaEditor/libs/TP/atlas-generat...

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

15. laya2.0 async怎么用呢? [ 83%]

...,在用到async的地方会在编译js代码的时候生成__awaiter和__generator函数,但是laya2.0不会这样子了,直接ts写async会报错。 尝试在index.js文件添加__awaitor和__generator函数,能跑,但是到了微信上上又有其他问题了。 请问laya2.0使用async...

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

16. 点击list的时候触发的e.target永远是被点击的item? [ 79%]

...nder); } private function onRender(cell:Box,index:int):void { // TODO Auto Generated method stub var cell:Box=my_list.getCell(index) as Box; var my_btn:Button=cell.getChildByName("my_btn") as Button; var my_clip:Clip=cell.getChildByName("my_clip") as Clip; my_btn.on(Event.CLICK,this,onBtnClick,["my_...

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

17. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 78%]

...module": "commonjs",                     /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */     // "lib": [],                             /* Specify library files to be included in the compilation. */     // "allowJs...

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

18. png导出图集报错 [ 77%]

png导出图集报错 应该是这个bug;下atlas-generator 依赖的libpng,更新下。 有些png格式,无法成功打出图集! 经过ps转存,可以成功!https://sourceforge.net/p/libpng/bugs/270/   测试图片:s_btn3.png   ps:我是没有看到atlas-generator的源码,我...

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

19. 路径显示会添加DrawCall,每增加一条路径都会添加,有什么办法降DrawCall [ 76%]

...sh(p); path.addChild(p); } } private function OnShow():void { // TODO Auto Generated method stub if(pop==null){ pop = new TestDialogUI(); pop.btn_close.clickHandler = new Handler(this,function(){pop.parent.removeChild(pop);}); } this.addChild(pop); } private function StartMove(len:int):void { trace(...

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

20. ScrollRect设置会引起其他的UI资源无法正在显示 [ 75%]

...ction StartMove(len:int):void { trace("[TestView.StartMove]") // TODO Auto Generated method stub Laya.timer.loop(100,this,UpdatePath,[len]); } private function UpdatePath(len:int):void { // TODO Auto Generated method stub var show:int = len -1; for(var i=0;i<len;i++){ if(arr[i]){ arr[i].x+= speed...

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