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

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

751. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 41%]

...Item);     Laya.stage.addChild(rankList);     var data = ;     for (var i = 0; i < 10; ++i) {     data.push("https://wx.qlogo.cn/mmopen/vi_ ... 6quot;);     data.push("https://wx.qlogo.cn/mmopen/vi_ ... 6quot;);     data.push("https://wx.qlogo.cn/mmopen/vi_ ... 6quot;);  ...

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

752. Animation 的createFrames 使用已经加载的图集缓存动画失败 [ 41%]

...Loader.ATLAS); } private function createAnimation():void { var url:Array=; for(var i:int=1;i<30;i++) { if(i<10) { url.push("res/fighter/fighter/rollSequence000"+i+".png"); } else { url.push("res/fighter/fighter/rollSequence00"+i+".png"); } } Animation.createFrames(url,"myFighter"); fly=new Ani...

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

753. 报无法找到资源,未升级ide之前不报错 [ 40%]

...: number = 8): void {     let aniFrames: Array<string> = [];     for (let i: number = 0; i < len; i++) {         aniFrames.push("resources/UI/role/atlasAni2/139x/" + name + i + ".png");     }     Laya.Animation.createFrames(aniFrames, name); }     附件 : --> 2023-07-13 添...

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

754. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 40%]

...ugmentCodeLocation(err, pos, curSource, id); err.id = id; err.hook = 'transform'; // return pluginContext.error(err); },该方法虽然可以解决 tslib 找不到的问题,并且编译后输出的文件可以正常运行,但是也屏蔽了其他错误,如果代码中有其他错误,最终...

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

755. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 40%]

...-7562/com.dihong.testdcc I/dalvikvm-heap: Grow heap (frag case) to 8.155MB for 944528-byte allocation 05-16 15:59:48.767 7562-7562/com.dihong.testdcc D/libEGL: loaded /system/lib/egl/libEGL_tegra.so 05-16 15:59:48.771 7562-7562/com.dihong.testdcc D/libEGL: loaded /system/lib/egl/libGLESv1_CM_tegra.s...

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

756. SCALE_FIXED_WIDTH适配屏幕的问题 [ 40%]

...{                 u = u[1].split("&");                 for (var p of u) {                     var param = p.split("=");                     gets[param[0]] = param[1];                 }             }             return gets;         }  ...

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

757. [LayaNative2.2.0beta4] 无论是否删除或者替换layabox.ttf 都会直接crash 【有demo】 [ 39%]

...  TypeError: Cannot read property 'length' of undefined             for (var i = 0; i < text.length; i++) {                                      ^^                  TypeError: Cannot read property 'length' of undefined         at conchTextCanvas.measureText ...

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

758. 可能有个昵称叫做“syy”的一只掉进粪坑里的猪会在下面乱叫 [ 39%]

...mp; box2d.b2Assert(0 < this.m_jointCount); --this.m_jointCount; if (!b) for (a = d.GetContactList(); a;) a.other === c && a.contact.FlagForFiltering(), a = a.next } }; box2d.b2Assert=function(a,b,c){ if (box2d.DEBUG && !a) {console.log(box2d.DEBUG); console.log(a); throw Error() }...

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

759. 项目做了一周.然后打不开了.怎么办? [ 39%]

...ension Host] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. d.logExtensionHostMessage @ /E:/laya/ide/LayaAirIDE_1.7.15/resources/app/out/vs/workbench/electron-browser/workbench.main.js:95787 2E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemai...

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

760. 射线形状检测shapeCastAll返回的检测结果只第一次有效 [ 39%]

...n0; var convexRotTo = PhysicsSimulation._btTempQuaternion1; var convexTransform = PhysicsSimulation._btTempTransform0; var convexTransTo = PhysicsSimulation._btTempTransform1; var sweepShape = shape._btShape; out.length = 0; bt.btVector3_setValue(convexPosFrom, -fromPosition.x, fromPosition.y, fromP...

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