大约有 325 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
...eTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));
来源: Laya_社区 发布时间: 20171116
...分包加载状态。示例代码如下: ```javascript loadTaskA.onProgressUpdate(res => { console.log('sub1Name 下载进度', res.progress) console.log('sub1Name 已经下载的数据长度', res.totalBytesWritten) console.log('sub1Name 预期需要下载的数据总长度', res.totalBytesExpect...
来源: Laya2.0_文档 发布时间: 20210714
...分包加载状态。示例代码如下: ```javascript loadTaskA.onProgressUpdate(res => { console.log('sub1Name 下载进度', res.progress) console.log('sub1Name 已经下载的数据长度', res.totalBytesWritten) console.log('sub1Name 预期需要下载的数据总长度', res.totalBytesExpect...
来源: Laya2.0_文档 发布时间: 20210715
ui发布路劲 ui设置的导出路劲是bin/res/pageUI/page, 我使用2.0 f12发布后,生成的.json结果在bin目录下,为什么会这样难道我要手动拷贝么,几十个U 附件 : --> 2019-04-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20190415
...分包加载状态。示例代码如下: ```javascript loadTaskA.onProgressUpdate(res => { console.log('sub1Name 下载进度', res.progress) console.log('sub1Name 已经下载的数据长度', res.totalBytesWritten) console.log('sub1Name 预期需要下载的数据总长度', res.totalBytesExpect...
来源: Laya2.0_文档 发布时间: 20210715
微信小游戏中如何加载XML文件? 使用Laya.loader.load("res/xml/info.xml", Laya.Handler.create(null, onLoadedXML),null,Laya.Loader.XML);来加载xml文件,在网页中能正常加载,在微信小游戏中显示 request:fail invalid url "res/xml/info.xml"。 2018-05-19 添加评论 ...
来源: Laya_社区 发布时间: 20180519
...不了 tiledMap = new TiledMap(); tiledMap.createMap("../res/dt.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); 调用后报错TypeError: Cannot read property 'split' of undefined at TiledMap.__proto.mergePath (file:///C:/Users/Administrator/Documents...
来源: Laya_社区 发布时间: 20181026
...r.JSON); } private function onLoaded():void { var json:JSON=Laya.loader.getRes("unpack.json"); var str:String=JSON.stringify(json); trace(str); } } } 2017-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monic...
来源: Laya_社区 发布时间: 20170807
...s Loader_MultipleType { private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATHS: string = "res/swf/star.json"; private ROBOT_TEXTURE_PATH: string = "res/swf/star.png"; constructor() { // Laya.init(800, 600...
来源: Laya_社区 发布时间: 20180203
...带: 你缺少的 png资源路径https://layaair2.ldc2.layabox.com/demo/h5/res/tiledMap/tmw_desert_spacing.png 放到 bin/map/ 即可 2019-12-27 0 2 分享 微博 QZONE 微信 broken 赞同来自: 我知道了 要直接放到bin目录下 这样太不方便了 希望官方能编译自动生...
来源: Laya_社区 发布时间: 20191227