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

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

1011. 从fbx转成lh文件后,加载报错 [ 54%]

...上传附件; scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/test/food05/food05.lh")));   附件 : --> food05.zip 2017-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 edward 赞同来自: ...

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

1012. 关于spine资源加载以及创建Laya.Templet问题 [ 54%]

...过来使用?   var tm:Laya.Templet = new Laya.Templet(); tm.loadAni("res/imgs.sk"); tm.on(Laya.Event.COMPLETE, this,()=>{       //是不是只能在这里面创建动画,这里创建,那我如何全局使用????????       var skp = this.buildArmature(1);       skp...

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

1013. load 跨域请求 [ 54%]

load 跨域请求 Laya.loader.load(resUrl+'bin/res/atlas/dice.json', Laya.Handler .create(this, this.init), null, Laya.Loader.ATLAS); 这个json提示跨域了,怎么解决好 2017-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

1014. sprite添加texture后,sprite无法触发点击事件? [ 54%]

...e无法触发点击事件? this.item.graphics.drawTexture(Laya.loader.getRes(IMG_RES[this.name])); Laya.stage.addChild(this.item);  this.item.on(Laya.Event.CLICK, this, () => { this.item.destroy(); }); 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

1015. 微信小游戏下Laya.Browser.window.protobuf可以用吗? [ 54%]

...=  Laya.Browser.window.protobuf; this.proto = await  protoBuf.load("res/protobuf/game.proto");   var HeartBeatReq = this.proto.lookup("HeartBeatReq");         var body = HeartBeatReq.create({             "time":1         }); 附件 : --> 2019-11-14 添加评论 免...

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

1016. 用u3d导出的粒子效果,不能移动粒子的位置 [ 54%]

...粒子的位置 var particleSprite3D:Laya.Sprite3D = Laya.Sprite3D.load("res/LayaScene_effect/effect.lh") as Laya.Sprite3D; particleSprite3D.transform.translate(new Laya.Vector3(0,20,0)) this.scene.addChild(particleSprite3D); 用u3d导出的粒子效果,不能移动粒子的位置 2018-05-16 添...

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

1017. 2.0播放声音时 Error: DOMException: Unable to decode audio data [ 54%]

...2.0打开时播放声音就会显示此错误 Laya.SoundManager.playSound("res/Sound/big_ta_dah.mp3", 1, null); 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: IDE暂不支持mp3格...

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

1018. Laya.Scene.load 加载场景 Cannot read property 'loadPath' [ 54%]

...例->3D场景->场景加载的资源 Arena/Arena.ls 资源放到bin/res/Arena   报错 Uncaught TypeError: Cannot read property 'loadPath' of undefined   附件 : --> 2017-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

1019. Laya的下载Loader 能下载Zip 压缩包吗? [ 54%]

...分享 微博 QZONE 微信 liuliqianxiao 赞同来自: 可以的。 {url: "res/configs/configs.zip", type: Laya.Loader.BUFFER} 加载后其实得到的是一个二进制buffer。调用一下第三库比如jszip,得到zip里面的内容很容易的,自行搜索 2017-12-28 0 0 分享 微博 QZONE ...

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

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

...下面有代码,求解答 Laya.loader.load(     // 资源     [{url:'res/atlas/comp.json',type:Laya.Loader.ATLAS}].concat(loadArr),     // 加载完成回调     Laya.Handler.create(null,function(){         var logintest = new loginTestView().init();         Laya.stage.addChild(login...

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