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

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

11. 贝塞尔曲线运动 [ 65%]

...式下3d模型运动时闪烁 物体加上Rigidibody 之后运动 Matrix.concat 出现a为underfined 问题状态 最新活动: 2018-10-23 16:48 浏览: 1488 关注: 2 人

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

12. ts加密md5码封装 [ 65%]

...s.range(length - str.length).map(() => char); const result = tail ? arr.concat(paddingStr) : paddingStr.concat(arr); return isArray ? result : result.join(""); } little_endian(charCode: number) { return this.split(this.padding(charCode.toString(16), 8, "0", false), 2).reverse().join(""); } range(...

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

13. 针对2.0.0 beta5 setLoadingPage 做增强 [ 61%]

...]).then(res => { let nextScene = res[0] if (res.length > 1) param = .concat((param || ), [res[1]]) nextScene.open(closeOther, param) if (complete) complete.runWith(nextScene) // 重新设置loadingPage 并隐藏 Laya.Scene.setLoadingPage(this._loadScene) Laya.Scene.hideLoadingPage() }) } /** *...

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

14. 为什么加载进度回调只调用了一次。下面有代码,求解答 [ 60%]

...    // 资源     [{url:'res/atlas/comp.json',type:Laya.Loader.ATLAS}].concat(loadArr),     // 加载完成回调     Laya.Handler.create(null,function(){         var logintest = new loginTestView().init();         Laya.stage.addChild(logintest);     }),     // 加载进度回调...

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

15. BUG:Sprite.event() [ 60%]

...r,data); else if (this.args)result=this.method.apply(this.caller,this.args.concat(data)); else result=this.method.apply(this.caller,data); this._id===id && this.once && this.recover(); return result; 2017-02-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

16. protobuf.js 转小游戏 动态生成方法报错 [ 59%]

...戏禁用了Function,这个怎么解决?  Function.apply(null, keys.concat("return " + source)).apply(null, keys.map(function (key) { return scope[key]; })); 2018-01-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

17. 怎么在发布时只打包压缩一部分JS [ 59%]

...的JS再合并压缩。但是在IDE发布时拆不出来。尝试用gulp-concat,gulp-uglify做了,但js引用顺序比较头痛,只能去读index.html中的那些js引用顺序么。   所以想知道LAYA IDE的合并压缩,用的是什么工具包,以及合并时如何保证js引用顺序...

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

18. 如何动态获取image的宽高? [ 58%]

...,photoimg.width,photoimg.height,photoimg.rotation); photoimg.transform=otf.concat(tf); image图片 通过矩阵旋转, bug1 如果设置缩放 就会取消旋转. 只能通过矩阵缩放. otf=photoimg.transform.clone(); otf.scale(sf,sf); photoimg.transform=otf; 旋转缩放后想取到 image的宽...

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

19. 混合模式-Lighter [ 57%]

...ion { var frames: Array = []; for (var i: number = 1; i = animation.frames.concat(); // 反转帧 clips = clips.reverse(); // 添加到已有帧末尾 animation.frames = animation.frames.concat(clips); animation.play(); return animation; } private preFixNumber(num:number, strLen:number):string { ret...

来源: Laya_示例 发布时间: 20260815

20. 混合模式-Lighter [ 57%]

...ion { var frames: Array = []; for (var i: number = 1; i = animation.frames.concat(); // 反转帧 clips = clips.reverse(); // 添加到已有帧末尾 animation.frames = animation.frames.concat(clips); animation.play(); return animation; } private preFixNumber(num:number, strLen:number):string { ret...

来源: Laya2.0_示例 发布时间: 20260815