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

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

331. 资源路径问题 [ 66%]

...种文件放不同的图片。。发现加载图片时加载不了。 Laya.loader.load(["res/atlas/img/hall.json"],Laya.Handler.create(this, onLoaded),null,Laya.Loader.ATLAS);无法加载。。。怎么回事 2017-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

332. 使用IDE打包图集工具出来的atlas,调用clearRes无法卸载资源 [ 66%]

...的atlas,调用clearRes无法卸载资源 加载时时这样调用 Laya.loader.load("res/MainBlood.atlas", Laya.Handler.create(this, this.onAtlasLoaded), null, Laya.Loader.ATLAS); 卸载时这样 Laya.loader.clearRes("res/MainBlood.atlas");在Laya.Loader.loadedMap里查找是没有了,但是统...

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

333. handler携带的参数在回调函数里面怎么获取? [ 66%]

...请: 内容相关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load("res/atlas/war/hero.atlas", Handler.create(this, this.onLoad), null, Loader.ATLAS); 什么意思,, 2018-03-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...

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

334. canvas下资源清理的问题 [ 66%]

...aya.display.Stage;     import laya.events.Event;     import laya.net.Loader;     import laya.ui.Button;     import laya.utils.Handler;     import laya.utils.Stat;          import ui.TaskUI;          import view.TestView;          public class LayaUISample {      ...

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

335. as3.0语言下2dmatter.js物理引擎的配置 [ 66%]

... 微博 QZONE 微信 131*****809 赞同来自: <script scr='matter.js' loader='laya'></script> <script scr = 'LayaRender.js' loader='laya'></script> <script src='LayaSample.max.js' loader='laya'></script>引用了呀 2018-07-16 0 1 分享 微博 QZONE 微信 为...

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

336. 微信上测试加载服务器资源 [ 65%]

...上测试加载服务器资源 URL.basePath = "http://212.xx.xx.xx/"; Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,loadComplete)); loadComplete(){显示自己的ui}; 项目设置选择不校验合法域名。(我没有配置域名,用IP可以吗?) 发现comp.atlas是加载下...

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

337. 请问laya里如何解析json,似乎和AS3的不太一样。 [ 65%]

...自: SONIC3D 、sevennqi public function BBB() { Laya.init(550,400); Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { var json:JSON=Laya.loader.getRes("res/atlas/comp.json"); }JSON的解析和AS3的是一样的   2016-10-2...

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

338. 微信小游戏设置网络动态加载无法显示 [ 65%]

...3B%3B var asset = []; asset.push({ url : "res/atlas/game.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "res/atlas/bubbles.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "game/bgGame.png", type:Laya.Loader.IMAGE });  Laya.loader.load(asset,Laya.Handler.create(this,loadingCallback),nul...

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

339. IDE 怎么获取Json数据 [ 65%]

...对json进行预加载,加载完成后获取json的数据,如下 Laya.loader.load("aaa.json",Handler.create(this,onLoaded),null,Loader.JSON); } private function onLoaded():void { var js:JSON=Laya.loader.getRes("aaa.json"); trace(js); }2、你如果是想使用file读取文件的方式,这个...

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

340. unity里导出的骨骼动画无法读取 [ 65%]

...的插件的参数,你看下有没有错误   读取代码:    Laya.loader.create("res/1.lh",Handler.create(this,onModelOK),null,Sprite3D); private function onModelOK():void         {              //添加3D场景              var scene:Scene = new Scene();  ...

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