大约有 633 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
...发布。 FGUI的那个loadLib("libs/rawinflate.js") 记得把最后call(this)改成call(window)。。不然小游戏挂壁 如果正常编译................. 然后这个时候,微信开发者工具运行会爆一个错误跟这个人一样: https://blog.csdn.net/sinat_33184880/article...
来源: Laya_社区 发布时间: 20200705
...题 class Scene_Test { constructor() { super(); Laya.timer.frameLoop(1,this,this.update); } private update() { let dt = Laya.timer.delta / 1000; console.log("dt="+dt); } } 附件中图1是在iphone6上面运行打印的信息,图2是在模拟下运行打印的信息。 请问有人碰到过...
来源: Laya_社区 发布时间: 20180808
...urceVersion.enable("version.json?"+Math.random(), Handler.create(this, beginLoad)); 熊猫大侠 • 2018-09-07 16:44 @155*****359:加载的时候 后面跟一个随机数 每次都会拉取最新的 155*****359 • 2018-09-07 17:00 嗯嗯,明白了。多谢朋友! 。。 • 2018-11-2...
来源: Laya_社区 发布时间: 20180518
... Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { return this.md5(str); } split(target: string | any[], step: number, markString: boolean = typeof target === "string") { if (typeof target === "strin...
来源: Laya_社区 发布时间: 20190321
...ap: Object;//字体样式映射 static get instance(): StyleManager { if (!this._instance) { this._instance = new StyleManager(); } return this._instance; } constructor() { } /** * 解析字体样式 * @param {Object} obj */ parseStyle(obj: Object) { this._styleMap = obj; } /** * 根据key找到字...
来源: Laya_社区 发布时间: 20171226
...使用TiledMap么,2.0里有Laya.TiledMap类,但是无法实例化, this.tMap = new Laya.TiledMap()后运行hui会提示Uncaught TypeError: Laya.TiledMap is not a constructor 附件 : --> 2019-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20190808
...troy,以前clone的对象也消失了 调用动画结束on方法,报错this.zombieAnimator.on is not a function Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 Laya2.1.0 JS调用Java PlatformClass undefined laya支持批处理调用js压缩吗? [闪退!!!...
来源: Laya_社区 发布时间: 20170411
... laya/filters/BlurFilter.ts:34 Returns Float32Array Static _filter _filter(this: RenderSprite, sprite: Sprite, context: Context, x: number, y: number): void Inherited from BlurFilter._filter Defined in laya/filters/Filter.ts:38 Parameters this: RenderSprite sprite: Sprite context: Context x: number ...
来源: Laya3.0_api 发布时间: 20231115
Array数组问题 使用Array sortOn函数 提示TypeError: this.scoreArray.sortOn is not a function 2018-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: https://www.baidu.com/s%3Fie...
来源: Laya_社区 发布时间: 20180627
...("load"); Laya.loader.create("TestScene/TestScene.ls", Laya.Handler.create(this, this.LoadSceneComplete)); } LoadSceneComplete() { console.log("finish") let scene: Laya.Scene = Laya.loader.getRes("TestScene/TestScene.ls") as Laya.Scene; // scene.enableLight = true; Laya.stage.addChild(scene); } } ne...
来源: Laya_社区 发布时间: 20171227